#[non_exhaustive]pub enum InvokeResult {
Data {
path: CommandPath,
fields: Value,
},
Status(ImStatus),
}Expand description
Outcome of Node::invoke.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Data
The device returned a response command with (anonymous-tagged) fields.
Status(ImStatus)
The device returned a bare status (e.g. Success).
Trait Implementations§
Source§impl Clone for InvokeResult
impl Clone for InvokeResult
Source§fn clone(&self) -> InvokeResult
fn clone(&self) -> InvokeResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvokeResult
impl Debug for InvokeResult
Source§impl PartialEq for InvokeResult
impl PartialEq for InvokeResult
impl StructuralPartialEq for InvokeResult
Auto Trait Implementations§
impl Freeze for InvokeResult
impl RefUnwindSafe for InvokeResult
impl Send for InvokeResult
impl Sync for InvokeResult
impl Unpin for InvokeResult
impl UnsafeUnpin for InvokeResult
impl UnwindSafe for InvokeResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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