pub struct Bytes8Key(pub [u8; 8]);Expand description
Built-in fixed-width 8-byte key type.
Tuple Fields§
§0: [u8; 8]Trait Implementations§
Source§impl Ord for Bytes8Key
impl Ord for Bytes8Key
Source§impl PartialOrd for Bytes8Key
impl PartialOrd for Bytes8Key
Source§impl RecordKey for Bytes8Key
impl RecordKey for Bytes8Key
Source§fn encode_into(&self, out: &mut [u8])
fn encode_into(&self, out: &mut [u8])
Encode this key into the provided output buffer. Read more
Source§fn decode_from(bytes: &[u8]) -> Result<Self, DryIceError>
fn decode_from(bytes: &[u8]) -> Result<Self, DryIceError>
Decode a key from bytes. Read more
impl Copy for Bytes8Key
impl Eq for Bytes8Key
impl StructuralPartialEq for Bytes8Key
Auto Trait Implementations§
impl Freeze for Bytes8Key
impl RefUnwindSafe for Bytes8Key
impl Send for Bytes8Key
impl Sync for Bytes8Key
impl Unpin for Bytes8Key
impl UnsafeUnpin for Bytes8Key
impl UnwindSafe for Bytes8Key
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more