Struct musli_binary_common::fixed_bytes::FixedBytes
source · [−]pub struct FixedBytes<const N: usize> { /* private fields */ }
Expand description
A fixed-size bytes storage which keeps track of how much has been initialized.
Implementations
sourceimpl<const N: usize> FixedBytes<N>
impl<const N: usize> FixedBytes<N>
Trait Implementations
sourceimpl<const N: usize> Writer for FixedBytes<N>
impl<const N: usize> Writer for FixedBytes<N>
type Error = FixedBytesWriterError
type Error = FixedBytesWriterError
The error type raised by the writer.
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for FixedBytes<N>
impl<const N: usize> Send for FixedBytes<N>
impl<const N: usize> Sync for FixedBytes<N>
impl<const N: usize> Unpin for FixedBytes<N>
impl<const N: usize> UnwindSafe for FixedBytes<N>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more