MCPcopy Create free account
hub / github.com/solana-program/system / to_u64

Method to_u64

interface/src/error.rs:80–82  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

78 }
79 #[inline]
80 fn to_u64(&self) -> Option<u64> {
81 self.to_i64().map(|x| x as u64)
82 }
83}
84
85impl std::error::Error for SystemError {}

Callers

nothing calls this directly

Calls 1

to_i64Method · 0.80

Tested by

no test coverage detected