pub enum BarResult {
Io(IoBar),
Vmo(Vmo),
UnknownOrdinal_(u64),
}Variants§
Implementations§
Trait Implementations§
Source§impl<___E> Encode<BarResult<'static>, ___E> for BarResultwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<BarResult<'static>, ___E> for BarResultwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<BarResult<'static>, ___E> for BarResult
impl<___E> EncodeOption<BarResult<'static>, ___E> for BarResult
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<BarResult<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<BarResult<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWireOption<BarResult<'de>> for BarResult
impl<'de> FromWireOption<BarResult<'de>> for BarResult
Source§fn from_wire_option(wire: BarResult<'de>) -> Option<Self>
fn from_wire_option(wire: BarResult<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<BarResult<'de>> for Box<BarResult>
impl<'de> FromWireOption<BarResult<'de>> for Box<BarResult>
Source§fn from_wire_option(wire: BarResult<'de>) -> Option<Self>
fn from_wire_option(wire: BarResult<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
impl StructuralPartialEq for BarResult
Auto Trait Implementations§
impl Freeze for BarResult
impl RefUnwindSafe for BarResult
impl Send for BarResult
impl Sync for BarResult
impl Unpin for BarResult
impl UnsafeUnpin for BarResult
impl UnwindSafe for BarResult
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, 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> 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]