#[repr(C)]pub struct Context<'de> {
pub bytes: WireVector<'de, u8>,
}Expand description
The wire type corresponding to Context.
Fields§
§bytes: WireVector<'de, u8>Trait Implementations§
Source§impl<___D> Decode<___D> for Context<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
impl<___D> Decode<___D> for Context<'static>where
___D: InternalHandleDecoder + Decoder + ?Sized,
Source§impl<'a, ___E> Encode<Context<'static>, ___E> for &'a Contextwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<Context<'static>, ___E> for &'a Contextwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<___E> Encode<Context<'static>, ___E> for Contextwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<Context<'static>, ___E> for Contextwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§impl<___E, T0> Encode<Context<'static>, ___E> for Context<T0>
impl<___E, T0> Encode<Context<'static>, ___E> for Context<T0>
Source§impl<'de> FromWireRef<Context<'de>> for Context
impl<'de> FromWireRef<Context<'de>> for Context
Source§fn from_wire_ref(wire: &Context<'de>) -> Context
fn from_wire_ref(wire: &Context<'de>) -> Context
Converts the given
wire reference to this type.Source§impl Wire for Context<'static>
impl Wire for Context<'static>
Source§fn zero_padding(out_: &mut MaybeUninit<Context<'static>>)
fn zero_padding(out_: &mut MaybeUninit<Context<'static>>)
Writes zeroes to the padding for this type, if any.
impl Unconstrained for Context<'static>
Auto Trait Implementations§
impl<'de> Freeze for Context<'de>
impl<'de> RefUnwindSafe for Context<'de>
impl<'de> Send for Context<'de>
impl<'de> Sync for Context<'de>
impl<'de> Unpin for Context<'de>
impl<'de> !UnwindSafe for Context<'de>
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
§impl<T> Constrained for Twhere
T: Unconstrained,
impl<T> Constrained for Twhere
T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§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]