pub struct Blob<const N: usize> { /* private fields */ }Expand description
Variable-size, but limited in capacity byte array.
Implementations§
Trait Implementations§
Source§impl<const N: usize> BoundedStorable for Blob<N>
impl<const N: usize> BoundedStorable for Blob<N>
Source§const IS_FIXED_SIZE: bool = false
const IS_FIXED_SIZE: bool = false
True if all the values of this type have fixed-width encoding.
Some data structures, such as stable vector, can take
advantage of fixed size to avoid storing an explicit entry
size. Read more
Source§impl<const N: usize> Ord for Blob<N>
impl<const N: usize> Ord for Blob<N>
Source§impl<const N: usize> PartialOrd for Blob<N>
impl<const N: usize> PartialOrd for Blob<N>
impl<const N: usize> Copy for Blob<N>
impl<const N: usize> Eq for Blob<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Blob<N>
impl<const N: usize> RefUnwindSafe for Blob<N>
impl<const N: usize> Send for Blob<N>
impl<const N: usize> Sync for Blob<N>
impl<const N: usize> Unpin for Blob<N>
impl<const N: usize> UnwindSafe for Blob<N>
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