pub struct WritableWriteRequest {
pub data: Vec<u8>,
}
Fields§
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for WritableWriteRequest
impl Clone for WritableWriteRequest
Source§fn clone(&self) -> WritableWriteRequest
fn clone(&self) -> WritableWriteRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WritableWriteRequest
impl Debug for WritableWriteRequest
Source§impl Encodable for WritableWriteRequest
impl Encodable for WritableWriteRequest
Source§type Encoded = WireWritableWriteRequest
type Encoded = WireWritableWriteRequest
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<WritableWriteRequest>
impl EncodableOption for Box<WritableWriteRequest>
Source§type EncodedOption = WireBox<WireWritableWriteRequest>
type EncodedOption = WireBox<WireWritableWriteRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for WritableWriteRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for WritableWriteRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<WritableWriteRequest>where
___E: Encoder + ?Sized,
WritableWriteRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<WritableWriteRequest>where
___E: Encoder + ?Sized,
WritableWriteRequest: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireWritableWriteRequest> for WritableWriteRequest
impl TakeFrom<WireWritableWriteRequest> for WritableWriteRequest
Source§fn take_from(from: &WireWritableWriteRequest) -> Self
fn take_from(from: &WireWritableWriteRequest) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for WritableWriteRequest
impl RefUnwindSafe for WritableWriteRequest
impl Send for WritableWriteRequest
impl Sync for WritableWriteRequest
impl Unpin for WritableWriteRequest
impl UnwindSafe for WritableWriteRequest
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