pub struct U64WriteId(/* private fields */);
Expand description
Portable u64 (sized) write id convenience type for use with streaming writes.
Often an integer value is sufficient for a streaming write tag. This convenience type enables storing such a value and functions for consistent conversion between byte sequence data types.
Implementations§
Trait Implementations§
Source§impl Clone for U64WriteId
impl Clone for U64WriteId
Source§fn clone(&self) -> U64WriteId
fn clone(&self) -> U64WriteId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for U64WriteId
impl Debug for U64WriteId
Source§impl From<U64WriteId> for u64
impl From<U64WriteId> for u64
Source§fn from(value: U64WriteId) -> u64
fn from(value: U64WriteId) -> u64
Converts to this type from the input type.
Source§impl From<u64> for U64WriteId
impl From<u64> for U64WriteId
Source§fn from(value: u64) -> U64WriteId
fn from(value: u64) -> U64WriteId
Converts to this type from the input type.
Source§impl TryFrom<&[u8]> for U64WriteId
impl TryFrom<&[u8]> for U64WriteId
impl Copy for U64WriteId
Auto Trait Implementations§
impl Freeze for U64WriteId
impl RefUnwindSafe for U64WriteId
impl Send for U64WriteId
impl Sync for U64WriteId
impl Unpin for U64WriteId
impl UnwindSafe for U64WriteId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)