pub enum Reply<'a> {
Info(Info<'a>),
InterfaceDescription(InterfaceDescription<'static>),
}Expand description
org.varlink.service interface replies.
This enum represents all possible replies from the varlink service interface methods.
Variants§
Info(Info<'a>)
Reply for GetInfo method.
InterfaceDescription(InterfaceDescription<'static>)
Reply for GetInterfaceDescription method.
Note: InterfaceDescription only supports ’static lifetime for deserialization.
Trait Implementations§
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.Auto Trait Implementations§
impl<'a> Freeze for Reply<'a>
impl<'a> RefUnwindSafe for Reply<'a>
impl<'a> Send for Reply<'a>
impl<'a> Sync for Reply<'a>
impl<'a> Unpin for Reply<'a>
impl<'a> UnwindSafe for Reply<'a>
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