#[non_exhaustive]pub enum SocketIOStatus {
Ok,
WouldBlock,
Eof,
Error,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SocketIOStatus
impl Clone for SocketIOStatus
Source§fn clone(&self) -> SocketIOStatus
fn clone(&self) -> SocketIOStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SocketIOStatus
impl Debug for SocketIOStatus
Source§impl Display for SocketIOStatus
impl Display for SocketIOStatus
Source§impl<'a> FromValue<'a> for SocketIOStatus
impl<'a> FromValue<'a> for SocketIOStatus
Source§type Checker = GenericValueTypeChecker<SocketIOStatus>
type Checker = GenericValueTypeChecker<SocketIOStatus>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for SocketIOStatus
impl Hash for SocketIOStatus
Source§impl Ord for SocketIOStatus
impl Ord for SocketIOStatus
Source§fn cmp(&self, other: &SocketIOStatus) -> Ordering
fn cmp(&self, other: &SocketIOStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SocketIOStatus
impl PartialEq for SocketIOStatus
Source§impl PartialOrd for SocketIOStatus
impl PartialOrd for SocketIOStatus
Source§impl StaticType for SocketIOStatus
impl StaticType for SocketIOStatus
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for SocketIOStatus
impl ToValue for SocketIOStatus
Source§impl ValueType for SocketIOStatus
impl ValueType for SocketIOStatus
Source§type Type = SocketIOStatus
type Type = SocketIOStatus
Type to get the
Type
from. Read moreimpl Copy for SocketIOStatus
impl Eq for SocketIOStatus
impl StructuralPartialEq for SocketIOStatus
Auto Trait Implementations§
impl Freeze for SocketIOStatus
impl RefUnwindSafe for SocketIOStatus
impl Send for SocketIOStatus
impl Sync for SocketIOStatus
impl Unpin for SocketIOStatus
impl UnwindSafe for SocketIOStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.