#[repr(C)]pub struct Unit {}Trait Implementations§
Source§impl CompatFrom<Unit> for Unit
impl CompatFrom<Unit> for Unit
Source§fn compat_from(value: Unit) -> Self
fn compat_from(value: Unit) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<Unit> for Unit
impl CompatFrom<Unit> for Unit
Source§fn compat_from(value: Unit) -> Self
fn compat_from(value: Unit) -> Self
Converts
value into a value of this type.Source§impl<'a, ___E> Encode<Unit, ___E> for &'a Unitwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Unit, ___E> for &'a Unitwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Unit, ___E> for Unitwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Unit, ___E> for Unitwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<'a, ___E> EncodeOption<Box<'static, Unit>, ___E> for &'a Unit
impl<'a, ___E> EncodeOption<Box<'static, Unit>, ___E> for &'a Unit
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Unit>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Unit>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, Unit>, ___E> for Unit
impl<___E> EncodeOption<Box<'static, Unit>, ___E> for Unit
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Unit>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Unit>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireRef<Unit> for Unit
impl FromWireRef<Unit> for Unit
Source§fn from_wire_ref(wire: &Unit) -> Self
fn from_wire_ref(wire: &Unit) -> Self
Converts the given reference to this type.
Source§impl Ord for Unit
impl Ord for Unit
Source§impl PartialOrd for Unit
impl PartialOrd for Unit
impl Copy for Unit
impl Eq for Unit
impl StructuralPartialEq for Unit
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference 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]