pub struct ResponseMeta {
pub status: u16,
pub opaque: u32,
pub cas: u64,
}Expand description
Groups the protocol-level metadata fields that every binary response carries. Using a struct avoids exceeding clippy’s argument limit on the response-writing functions.
Fields§
§status: u16§opaque: u32Opaque value echoed from the request.
cas: u64CAS value for the response.
Auto Trait Implementations§
impl Freeze for ResponseMeta
impl RefUnwindSafe for ResponseMeta
impl Send for ResponseMeta
impl Sync for ResponseMeta
impl Unpin for ResponseMeta
impl UnwindSafe for ResponseMeta
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