pub struct Body<T>where
T: Transport,{ /* private fields */ }Expand description
The body of an encoded FIDL message.
This is a simple wrapper around T::RecvBuffer that skips the transaction
header when as_decoder is called.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Body<T>
impl<T> RefUnwindSafe for Body<T>
impl<T> Send for Body<T>
impl<T> Sync for Body<T>
impl<T> Unpin for Body<T>
impl<T> UnsafeUnpin for Body<T>
impl<T> UnwindSafe for Body<T>
Blanket Implementations§
Source§impl<D> AsDecoderExt for Dwhere
D: for<'de> AsDecoder<'de>,
impl<D> AsDecoderExt for Dwhere
D: for<'de> AsDecoder<'de>,
Source§fn into_decoded<T>(self) -> Result<Decoded<T, D>, DecodeError>
fn into_decoded<T>(self) -> Result<Decoded<T, D>, DecodeError>
Decodes a value from the decoder and finishes it. Read more
Source§fn into_decoded_with_constraint<T>(
self,
constraint: <T as Constrained>::Constraint,
) -> Result<Decoded<T, D>, DecodeError>where
D: for<'de> AsDecoder<'de>,
T: Wire,
<T as Wire>::Narrowed<'de>: for<'de> Decode<<D as AsDecoder<'de>>::Decoder, Constraint = <T as Constrained>::Constraint>,
fn into_decoded_with_constraint<T>(
self,
constraint: <T as Constrained>::Constraint,
) -> Result<Decoded<T, D>, DecodeError>where
D: for<'de> AsDecoder<'de>,
T: Wire,
<T as Wire>::Narrowed<'de>: for<'de> Decode<<D as AsDecoder<'de>>::Decoder, Constraint = <T as Constrained>::Constraint>,
Decodes a value from the decoder and finishes it. Read more
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to Self