#[repr(C)]pub struct ProtocolPayload {
pub channel: Channel,
}Expand description
Contains a protocol open request.
Fields§
§channel: ChannelTrait Implementations§
Source§impl CompatFrom<ProtocolPayload> for ProtocolPayload
impl CompatFrom<ProtocolPayload> for ProtocolPayload
Source§fn compat_from(value: ProtocolPayload) -> Self
fn compat_from(value: ProtocolPayload) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<ProtocolPayload> for ProtocolPayload
impl CompatFrom<ProtocolPayload> for ProtocolPayload
Source§fn compat_from(value: ProtocolPayload) -> Self
fn compat_from(value: ProtocolPayload) -> Self
Converts
value into a value of this type.Source§impl Debug for ProtocolPayload
impl Debug for ProtocolPayload
Source§impl<___E> Encode<ProtocolPayload, ___E> for ProtocolPayloadwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<ProtocolPayload, ___E> for ProtocolPayloadwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, ProtocolPayload>
const COPY_OPTIMIZATION: CopyOptimization<Self, ProtocolPayload>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<ProtocolPayload>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<ProtocolPayload>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E> EncodeOption<WireBox<'static, ProtocolPayload>, ___E> for ProtocolPayload
impl<___E> EncodeOption<WireBox<'static, ProtocolPayload>, ___E> for ProtocolPayload
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<WireBox<'static, ProtocolPayload>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<WireBox<'static, ProtocolPayload>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<ProtocolPayload> for ProtocolPayload
impl FromWire<ProtocolPayload> for ProtocolPayload
Source§const COPY_OPTIMIZATION: CopyOptimization<ProtocolPayload, Self>
const COPY_OPTIMIZATION: CopyOptimization<ProtocolPayload, Self>
Source§fn from_wire(wire: ProtocolPayload) -> Self
fn from_wire(wire: ProtocolPayload) -> Self
Converts the given
wire to this type.Source§impl PartialEq for ProtocolPayload
impl PartialEq for ProtocolPayload
impl StructuralPartialEq for ProtocolPayload
Auto Trait Implementations§
impl Freeze for ProtocolPayload
impl RefUnwindSafe for ProtocolPayload
impl Send for ProtocolPayload
impl Sync for ProtocolPayload
impl Unpin for ProtocolPayload
impl UnwindSafe for ProtocolPayload
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, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire to an option of this type.§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]