pub enum InvokeResponse<'a> {
Command(CommandData<'a>),
Status(CommandStatus),
}Expand description
InvokeResponseIB (§10.6.13) — one command’s outcome.
As with AttributeReport, the schema’s two optional fields are a choice: a command
either produced a response payload or a status.
Variants§
Command(CommandData<'a>)
Command [0] — a response command with its fields.
Status(CommandStatus)
Status [1].
Implementations§
Trait Implementations§
Source§impl<'a> Clone for InvokeResponse<'a>
impl<'a> Clone for InvokeResponse<'a>
impl<'a> Copy for InvokeResponse<'a>
Source§impl<'a> Debug for InvokeResponse<'a>
impl<'a> Debug for InvokeResponse<'a>
impl<'a> Eq for InvokeResponse<'a>
Source§impl<'a> PartialEq for InvokeResponse<'a>
impl<'a> PartialEq for InvokeResponse<'a>
impl<'a> StructuralPartialEq for InvokeResponse<'a>
Auto Trait Implementations§
impl<'a> Forget for InvokeResponse<'a>
impl<'a> Freeze for InvokeResponse<'a>
impl<'a> Move for InvokeResponse<'a>
impl<'a> RefUnwindSafe for InvokeResponse<'a>
impl<'a> Send for InvokeResponse<'a>
impl<'a> Sync for InvokeResponse<'a>
impl<'a> Unpin for InvokeResponse<'a>
impl<'a> UnsafeUnpin for InvokeResponse<'a>
impl<'a> UnwindSafe for InvokeResponse<'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