pub struct Ref<'de> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'de, ___D> Decode<___D> for Ref<'de>where
___D: InternalHandleDecoder + ?Sized + Decoder<'de>,
impl<'de, ___D> Decode<___D> for Ref<'de>where
___D: InternalHandleDecoder + ?Sized + Decoder<'de>,
Source§impl<'a, ___E> EncodeOption<Ref<'static>, ___E> for &'a Ref
impl<'a, ___E> EncodeOption<Ref<'static>, ___E> for &'a Ref
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Ref<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Ref<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Ref<'static>, ___E> for Ref
impl<___E> EncodeOption<Ref<'static>, ___E> for Ref
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Ref<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Ref<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWireOption<Ref<'de>> for Box<Ref>
impl<'de> FromWireOption<Ref<'de>> for Box<Ref>
Source§fn from_wire_option(wire: Ref<'de>) -> Option<Self>
fn from_wire_option(wire: Ref<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<Ref<'de>> for Ref
impl<'de> FromWireOption<Ref<'de>> for Ref
Source§fn from_wire_option(wire: Ref<'de>) -> Option<Self>
fn from_wire_option(wire: Ref<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOptionRef<Ref<'de>> for Box<Ref>
impl<'de> FromWireOptionRef<Ref<'de>> for Box<Ref>
Source§fn from_wire_option_ref(wire: &Ref<'de>) -> Option<Self>
fn from_wire_option_ref(wire: &Ref<'de>) -> Option<Self>
Converts the given reference to an option of this type.
Auto Trait Implementations§
impl<'de> Freeze for Ref<'de>
impl<'de> RefUnwindSafe for Ref<'de>
impl<'de> Send for Ref<'de>
impl<'de> Sync for Ref<'de>
impl<'de> Unpin for Ref<'de>
impl<'de> UnsafeUnpin for Ref<'de>
impl<'de> !UnwindSafe for Ref<'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
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]