pub struct FunctionCallResponse<'a> { /* private fields */ }Expand description
Implementations§
Source§impl<'a> FunctionCallResponse<'a>
impl<'a> FunctionCallResponse<'a>
Trait Implementations§
Source§impl AsRef<[u8]> for FunctionCallResponse<'_>
impl AsRef<[u8]> for FunctionCallResponse<'_>
Source§impl<'a> Clone for FunctionCallResponse<'a>
impl<'a> Clone for FunctionCallResponse<'a>
Source§fn clone(&self) -> FunctionCallResponse<'a>
fn clone(&self) -> FunctionCallResponse<'a>
Returns a duplicate 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<'a> DataType for FunctionCallResponse<'a>
impl<'a> DataType for FunctionCallResponse<'a>
const META: StructFieldMeta
type BuilderForStruct<'unused> = FunctionCallResponseBuilder<'a>
Source§type BuilderForEncode = FunctionCallResponseBuilder<'a>
type BuilderForEncode = FunctionCallResponseBuilder<'a>
Always a reference
type DecodeLifetime<'__next_lifetime> = FunctionCallResponse<'__next_lifetime>
fn decode<'__next_lifetime>( buf: &mut &'__next_lifetime [u8], ) -> Result<Self::DecodeLifetime<'__next_lifetime>, ParseError>
fn encode<'__buffer_lifetime, '__value_lifetime>( buf: &mut BufWriter<'__buffer_lifetime>, value: &'__value_lifetime Self::BuilderForEncode, )
fn encode_usize<'a>(buf: &mut BufWriter<'a>, value: usize)
fn decode_usize(buf: &mut &[u8]) -> Result<usize, ParseError>
Source§impl Debug for FunctionCallResponse<'_>
impl Debug for FunctionCallResponse<'_>
Source§impl<'a> Default for FunctionCallResponse<'a>
impl<'a> Default for FunctionCallResponse<'a>
Source§fn default() -> FunctionCallResponse<'a>
fn default() -> FunctionCallResponse<'a>
Returns the “default value” for a type. Read more
Source§impl PartialEq for FunctionCallResponse<'_>
impl PartialEq for FunctionCallResponse<'_>
Source§impl<'a> StructMeta for FunctionCallResponse<'a>
Implements a trait containing the fields of the struct, allowing
us to compute some useful things.
impl<'a> StructMeta for FunctionCallResponse<'a>
Implements a trait containing the fields of the struct, allowing us to compute some useful things.
const FIELDS: StructFields
type Struct<'__struct> = FunctionCallResponse<'__struct>
fn new<'__next_lifetime>( buf: &'__next_lifetime [u8], ) -> Result<Self::Struct<'__next_lifetime>, ParseError>
fn to_vec(&self) -> Vec<u8> ⓘ
const FIELD_COUNT: usize = _
const IS_FIXED_SIZE: bool = _
const FIXED_SIZE: Option<usize> = _
const LENGTH_FIELD_INDEX: Option<usize> = _
const HAS_LENGTH_FIELD: bool = _
impl<'a> Copy for FunctionCallResponse<'a>
impl Eq for FunctionCallResponse<'_>
impl StructAttributeFieldCount<{<$name<'_> as $crate::prelude::StructMeta>::FIELD_COUNT}> for FunctionCallResponse<'_>
Implements a trait indicating that the struct has a field count.
impl StructAttributeFixedSize<{<$name<'_> as $crate::prelude::StructMeta>::IS_FIXED_SIZE}> for FunctionCallResponse<'_>
Implements a trait indicating that the struct has a fixed size. This needs to be a trait-generic rather than and associated constant for us to use elsewhere.
impl StructAttributeHasLengthField<{<$name<'_> as $crate::prelude::StructMeta>::HAS_LENGTH_FIELD}> for FunctionCallResponse<'_>
Implements a trait indicating that the struct has a length field.
Auto Trait Implementations§
impl<'a> Freeze for FunctionCallResponse<'a>
impl<'a> RefUnwindSafe for FunctionCallResponse<'a>
impl<'a> Send for FunctionCallResponse<'a>
impl<'a> Sync for FunctionCallResponse<'a>
impl<'a> Unpin for FunctionCallResponse<'a>
impl<'a> UnwindSafe for FunctionCallResponse<'a>
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