Expand description
A buffer type used for implementing Extension
s.
Variants
Shared(&'a [u8])
A read-only shared byte slice.
Unique(&'a mut [u8])
A mutable byte slice.
Owned(Vec<u8>)
An owned byte buffer.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Storage<'a>
impl<'a> Send for Storage<'a>
impl<'a> Sync for Storage<'a>
impl<'a> Unpin for Storage<'a>
impl<'a> !UnwindSafe for Storage<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more