pub enum RelayCommand {
Show 16 variants
Begin,
Data,
End,
Connected,
Sendme,
Extend,
Extended,
Truncate,
Truncated,
Drop,
Resolve,
Resolved,
BeginDir,
Extend2,
Extended2,
Unknown(u8),
}Variants§
Begin
Data
End
Connected
Sendme
Extend
Extended
Truncate
Truncated
Drop
Resolve
Resolved
BeginDir
Extend2
Extended2
Unknown(u8)
Implementations§
Source§impl RelayCommand
impl RelayCommand
pub fn value(self) -> u8
pub fn from_value(value: u8) -> Self
pub fn is_unknown(self) -> bool
Trait Implementations§
Source§impl Clone for RelayCommand
impl Clone for RelayCommand
impl Copy for RelayCommand
Source§impl Debug for RelayCommand
impl Debug for RelayCommand
impl Eq for RelayCommand
Source§impl Hash for RelayCommand
impl Hash for RelayCommand
Source§impl PartialEq for RelayCommand
impl PartialEq for RelayCommand
Source§impl Serialize for RelayCommand
impl Serialize for RelayCommand
impl StructuralPartialEq for RelayCommand
Auto Trait Implementations§
impl Freeze for RelayCommand
impl RefUnwindSafe for RelayCommand
impl Send for RelayCommand
impl Sync for RelayCommand
impl Unpin for RelayCommand
impl UnsafeUnpin for RelayCommand
impl UnwindSafe for RelayCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere T: Clone,
impl<T> CloneToUninit for Twhere T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.