pub enum SerialisedFrame {
Bytes(Bytes),
ChunkLease(ChunkLease),
ChunkRef(ChunkRef),
}Expand description
Wrapper used to wrap framed values for transfer to the Network thread
Variants§
Bytes(Bytes)
Variant for Bytes allocated anywhere
ChunkLease(ChunkLease)
Variant for the Pooled buffers
ChunkRef(ChunkRef)
Variant for the Pooled buffers
Implementations§
Source§impl SerialisedFrame
impl SerialisedFrame
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SerialisedFrame
impl RefUnwindSafe for SerialisedFrame
impl Send for SerialisedFrame
impl Sync for SerialisedFrame
impl Unpin for SerialisedFrame
impl UnsafeUnpin for SerialisedFrame
impl !UnwindSafe for SerialisedFrame
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