Struct ic_stable_structures::storable::Blob
source · 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> PartialEq<Blob<N>> for Blob<N>
impl<const N: usize> PartialEq<Blob<N>> for Blob<N>
source§impl<const N: usize> PartialOrd<Blob<N>> for Blob<N>
impl<const N: usize> PartialOrd<Blob<N>> for Blob<N>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<const N: usize> Copy for Blob<N>
impl<const N: usize> Eq for Blob<N>
impl<const N: usize> StructuralEq for Blob<N>
Auto Trait Implementations§
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