pub enum OwnedReply {
Info(OwnedInfo),
InterfaceDescription(InterfaceDescription<'static>),
}Expand description
Variants§
Info(OwnedInfo)
Reply for GetInfo method.
InterfaceDescription(InterfaceDescription<'static>)
Reply for GetInterfaceDescription method.
Trait Implementations§
Source§impl Debug for OwnedReply
impl Debug for OwnedReply
Source§impl<'a> From<Reply<'a>> for OwnedReply
Available on crate feature idl only.
impl<'a> From<Reply<'a>> for OwnedReply
Available on crate feature
idl only.Source§fn from(reply: Reply<'a>) -> OwnedReply
fn from(reply: Reply<'a>) -> OwnedReply
Converts to this type from the input type.
Source§impl Serialize for OwnedReply
impl Serialize for OwnedReply
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OwnedReply
impl RefUnwindSafe for OwnedReply
impl Send for OwnedReply
impl Sync for OwnedReply
impl Unpin for OwnedReply
impl UnsafeUnpin for OwnedReply
impl UnwindSafe for OwnedReply
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