#[repr(C)]pub struct StructOfEndpoints {
pub client_end: ClientEnd<Protocol, Channel>,
pub optional_client_end: ClientEnd<Protocol, OptionalChannel>,
pub server_end: ServerEnd<Protocol, Channel>,
pub optional_server_end: ServerEnd<Protocol, OptionalChannel>,
}Expand description
The wire type corresponding to StructOfEndpoints.
Fields§
§client_end: ClientEnd<Protocol, Channel>§optional_client_end: ClientEnd<Protocol, OptionalChannel>§server_end: ServerEnd<Protocol, Channel>§optional_server_end: ServerEnd<Protocol, OptionalChannel>Trait Implementations§
Source§impl Constrained for StructOfEndpoints
impl Constrained for StructOfEndpoints
Source§impl Debug for StructOfEndpoints
impl Debug for StructOfEndpoints
Source§impl<___D> Decode<___D> for StructOfEndpointswhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for StructOfEndpointswhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<StructOfEndpoints, ___E> for StructOfEndpointswhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<StructOfEndpoints, ___E> for StructOfEndpointswhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, StructOfEndpoints>
const COPY_OPTIMIZATION: CopyOptimization<Self, StructOfEndpoints>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<StructOfEndpoints>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<StructOfEndpoints>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0, T1, T2, T3> Encode<StructOfEndpoints, ___E> for StructOfEndpoints<T0, T1, T2, T3>
impl<___E, T0, T1, T2, T3> Encode<StructOfEndpoints, ___E> for StructOfEndpoints<T0, T1, T2, T3>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<StructOfEndpoints>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<StructOfEndpoints>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<StructOfEndpoints> for StructOfEndpoints
impl FromWire<StructOfEndpoints> for StructOfEndpoints
Source§const COPY_OPTIMIZATION: CopyOptimization<StructOfEndpoints, Self>
const COPY_OPTIMIZATION: CopyOptimization<StructOfEndpoints, Self>
Source§fn from_wire(wire: StructOfEndpoints) -> Self
fn from_wire(wire: StructOfEndpoints) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for StructOfEndpoints
impl IntoNatural for StructOfEndpoints
Source§type Natural = StructOfEndpoints
type Natural = StructOfEndpoints
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for StructOfEndpoints
impl Wire for StructOfEndpoints
Source§type Narrowed<'de> = StructOfEndpoints
type Narrowed<'de> = StructOfEndpoints
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for StructOfEndpoints
impl RefUnwindSafe for StructOfEndpoints
impl Send for StructOfEndpoints
impl Sync for StructOfEndpoints
impl Unpin for StructOfEndpoints
impl UnsafeUnpin for StructOfEndpoints
impl UnwindSafe for StructOfEndpoints
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
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]