Enum ftl_protocol::protocol::FtlCommand
source · [−]pub enum FtlCommand {
HMAC,
Connect {
channel_id: String,
hashed_hmac_payload: String,
},
Dot,
Attribute {
key: String,
value: String,
},
Ping {
channel_id: String,
},
Disconnect,
}
Variants
HMAC
Connect
Dot
Attribute
Ping
Fields
channel_id: String
Disconnect
Trait Implementations
sourceimpl Debug for FtlCommand
impl Debug for FtlCommand
sourceimpl FromStr for FtlCommand
impl FromStr for FtlCommand
sourceimpl PartialEq<FtlCommand> for FtlCommand
impl PartialEq<FtlCommand> for FtlCommand
sourcefn eq(&self, other: &FtlCommand) -> bool
fn eq(&self, other: &FtlCommand) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FtlCommand) -> bool
fn ne(&self, other: &FtlCommand) -> bool
This method tests for !=
.
impl StructuralPartialEq for FtlCommand
Auto Trait Implementations
impl RefUnwindSafe for FtlCommand
impl Send for FtlCommand
impl Sync for FtlCommand
impl Unpin for FtlCommand
impl UnwindSafe for FtlCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more