pub enum Backing {
Boxed(Box<[u8]>),
Shared(Arc<dyn SharedBacking>),
}Variants§
Boxed(Box<[u8]>)
Heap-allocated buffer (TCP read, BipBuffer copy-out for small messages).
Shared backing that can be provided by transports (for example SHM slots).
Implementations§
Auto Trait Implementations§
impl Freeze for Backing
impl !RefUnwindSafe for Backing
impl Send for Backing
impl Sync for Backing
impl Unpin for Backing
impl UnsafeUnpin for Backing
impl !UnwindSafe for Backing
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