pub struct ReadableReadResponse {
pub data: Vec<u8>,
}
Fields§
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for ReadableReadResponse
impl Clone for ReadableReadResponse
Source§fn clone(&self) -> ReadableReadResponse
fn clone(&self) -> ReadableReadResponse
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 ReadableReadResponse
impl Debug for ReadableReadResponse
Source§impl Encodable for ReadableReadResponse
impl Encodable for ReadableReadResponse
Source§type Encoded = WireReadableReadResponse
type Encoded = WireReadableReadResponse
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<ReadableReadResponse>
impl EncodableOption for Box<ReadableReadResponse>
Source§type EncodedOption = WireBox<WireReadableReadResponse>
type EncodedOption = WireBox<WireReadableReadResponse>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for ReadableReadResponsewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
impl<___E> Encode<___E> for ReadableReadResponsewhere
___E: InternalHandleEncoder + ?Sized + Encoder,
Source§impl<___E> EncodeOption<___E> for Box<ReadableReadResponse>where
___E: Encoder + ?Sized,
ReadableReadResponse: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<ReadableReadResponse>where
___E: Encoder + ?Sized,
ReadableReadResponse: 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<WireReadableReadResponse> for ReadableReadResponse
impl TakeFrom<WireReadableReadResponse> for ReadableReadResponse
Source§fn take_from(from: &WireReadableReadResponse) -> Self
fn take_from(from: &WireReadableReadResponse) -> 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 ReadableReadResponse
impl RefUnwindSafe for ReadableReadResponse
impl Send for ReadableReadResponse
impl Sync for ReadableReadResponse
impl Unpin for ReadableReadResponse
impl UnwindSafe for ReadableReadResponse
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