pub enum StatusType {
General,
Client,
Server,
Other(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StatusType
impl Clone for StatusType
Source§impl Debug for StatusType
impl Debug for StatusType
Source§impl Display for StatusType
impl Display for StatusType
impl Eq for StatusType
Source§impl From<&str> for StatusType
impl From<&str> for StatusType
Source§impl FromStr for StatusType
impl FromStr for StatusType
Source§impl Hash for StatusType
impl Hash for StatusType
Source§impl PartialEq for StatusType
impl PartialEq for StatusType
Source§impl Serialize for StatusType
impl Serialize for StatusType
impl StructuralPartialEq for StatusType
Auto Trait Implementations§
impl Freeze for StatusType
impl RefUnwindSafe for StatusType
impl Send for StatusType
impl Sync for StatusType
impl Unpin for StatusType
impl UnsafeUnpin for StatusType
impl UnwindSafe for StatusType
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.