Enum otrr::ProtocolStatus
source · pub enum ProtocolStatus {
Plaintext,
Encrypted,
Finished,
}
Expand description
ProtocolStatus
indicates the protocol status: plaintext, encrypted, finished.
If matching for exact protocol state, combine with Version
to include version-matching.
Variants§
Trait Implementations§
source§impl Debug for ProtocolStatus
impl Debug for ProtocolStatus
source§impl PartialEq for ProtocolStatus
impl PartialEq for ProtocolStatus
source§fn eq(&self, other: &ProtocolStatus) -> bool
fn eq(&self, other: &ProtocolStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProtocolStatus
impl StructuralPartialEq for ProtocolStatus
Auto Trait Implementations§
impl Freeze for ProtocolStatus
impl RefUnwindSafe for ProtocolStatus
impl Send for ProtocolStatus
impl Sync for ProtocolStatus
impl Unpin for ProtocolStatus
impl UnwindSafe for ProtocolStatus
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