[−][src]Struct eosio::Checksum512
TODO docs
TODO Read, Write, NumBytes
needs a custom implementation based on
fixed_bytes
Methods
impl Checksum512
[src]
#[must_use]
pub const fn as_bytes(&self) -> &[u8; 64]
[src]
TODO docs.
#[must_use]
pub const fn to_bytes(&self) -> [u8; 64]
[src]
TODO docs.
#[must_use]
pub fn as_slice(&self) -> &[u8]
[src]
TODO docs.
Trait Implementations
impl AsRef<Checksum512> for Checksum512
[src]
impl Clone for Checksum512
[src]
fn clone(&self) -> Checksum512
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Checksum512
[src]
impl Default for Checksum512
[src]
impl From<[u8; 64]> for Checksum512
[src]
impl From<Checksum512> for [u8; 64]
[src]
#[must_use]
fn from(value: Checksum512) -> Self
[src]
impl NumBytes for Checksum512
[src]
impl Read for Checksum512
[src]
fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>
[src]
fn unpack<T: AsRef<[u8]>>(bytes: T) -> Result<Self, ReadError>
[src]
impl Write for Checksum512
[src]
fn write(&self, bytes: &mut [u8], pos: &mut usize) -> Result<(), WriteError>
[src]
fn pack(&self) -> Result<Vec<u8>, WriteError>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,