#[repr(C)]pub struct Connector {
pub token: Handle,
}
Fields§
§token: Handle
Trait Implementations§
Source§impl Encodable for Connector
impl Encodable for Connector
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, WireConnector>
const COPY_OPTIMIZATION: CopyOptimization<Self, WireConnector>
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§type Encoded = WireConnector
type Encoded = WireConnector
The wire type for the value.
Source§impl EncodableOption for Connector
impl EncodableOption for Connector
Source§type EncodedOption = WireBox<'static, WireConnector>
type EncodedOption = WireBox<'static, WireConnector>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for Connectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for Connectorwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Connector
impl<___E> EncodeOption<___E> for Connector
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<WireConnector> for Connector
impl FromWire<WireConnector> for Connector
Source§const COPY_OPTIMIZATION: CopyOptimization<WireConnector, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireConnector, Self>
Source§fn from_wire(wire: WireConnector) -> Self
fn from_wire(wire: WireConnector) -> Self
Converts the given
wire
to this type.Auto Trait Implementations§
impl Freeze for Connector
impl RefUnwindSafe for Connector
impl Send for Connector
impl Sync for Connector
impl Unpin for Connector
impl UnwindSafe for Connector
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, 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,
§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.