pub enum ControlCommand {
Ping,
Status,
GetStatus,
Health,
Identity,
Metadata,
}Variants§
Implementations§
Source§impl ControlCommand
impl ControlCommand
Sourcepub fn requires_trust(&self) -> bool
pub fn requires_trust(&self) -> bool
Indicates whether the command should only run against trusted devices.
pub fn is_observe_safe(&self) -> bool
Trait Implementations§
Source§impl Clone for ControlCommand
impl Clone for ControlCommand
Source§fn clone(&self) -> ControlCommand
fn clone(&self) -> ControlCommand
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 moreimpl Copy for ControlCommand
Source§impl Debug for ControlCommand
impl Debug for ControlCommand
impl Eq for ControlCommand
Source§impl PartialEq for ControlCommand
impl PartialEq for ControlCommand
Source§fn eq(&self, other: &ControlCommand) -> bool
fn eq(&self, other: &ControlCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlCommand
Auto Trait Implementations§
impl Freeze for ControlCommand
impl RefUnwindSafe for ControlCommand
impl Send for ControlCommand
impl Sync for ControlCommand
impl Unpin for ControlCommand
impl UnsafeUnpin for ControlCommand
impl UnwindSafe for ControlCommand
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