Struct cuprate_levin::Bucket
source · pub struct Bucket<C> {
pub header: BucketHead<C>,
pub body: Bytes,
}Expand description
A levin Bucket
Fields§
§header: BucketHead<C>The bucket header
body: BytesThe bucket body
Trait Implementations§
source§impl<C: LevinCommand> Encoder<Bucket<C>> for LevinBucketCodec<C>
impl<C: LevinCommand> Encoder<Bucket<C>> for LevinBucketCodec<C>
Auto Trait Implementations§
impl<C> !Freeze for Bucket<C>
impl<C> RefUnwindSafe for Bucket<C>where
C: RefUnwindSafe,
impl<C> Send for Bucket<C>where
C: Send,
impl<C> Sync for Bucket<C>where
C: Sync,
impl<C> Unpin for Bucket<C>where
C: Unpin,
impl<C> UnwindSafe for Bucket<C>where
C: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.