Struct fvm_ipld_encoding::BytesSer
source · pub struct BytesSer<'a>(pub &'a [u8]);
Expand description
Wrapper for serializing slice of bytes.
Tuple Fields§
§0: &'a [u8]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BytesSer<'a>
impl<'a> RefUnwindSafe for BytesSer<'a>
impl<'a> Send for BytesSer<'a>
impl<'a> Sync for BytesSer<'a>
impl<'a> Unpin for BytesSer<'a>
impl<'a> UnwindSafe for BytesSer<'a>
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