pub struct Command {
pub reply: Option<Message>,
/* private fields */
}Fields§
§reply: Option<Message>Implementations§
Source§impl Command
impl Command
pub fn key_hash<T>(&self, hash_tag: &[u8], method: T) -> u64
pub fn subs(&self) -> Option<Vec<Cmd>>
pub fn is_done(&self) -> bool
pub fn cycle(&self) -> u8
pub fn can_cycle(&self) -> bool
pub fn add_cycle(&mut self)
pub fn is_ask(&self) -> bool
pub fn unset_ask(&mut self)
pub fn set_ask(&mut self)
pub fn is_moved(&mut self) -> bool
pub fn set_moved(&mut self)
pub fn unset_moved(&mut self)
pub fn is_error(&self) -> bool
pub fn is_read(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Command
impl !RefUnwindSafe for Command
impl !Send for Command
impl !Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
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