Enum taxy_api::port::SocketState
source · pub enum SocketState {
Listening,
AddressAlreadyInUse,
PermissionDenied,
AddressNotAvailable,
Error,
Unknown,
}
Variants§
Trait Implementations§
source§impl Clone for SocketState
impl Clone for SocketState
source§fn clone(&self) -> SocketState
fn clone(&self) -> SocketState
Returns a copy 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 SocketState
impl Debug for SocketState
source§impl Default for SocketState
impl Default for SocketState
source§fn default() -> SocketState
fn default() -> SocketState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SocketState
impl<'de> Deserialize<'de> for SocketState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<SocketState> for SocketState
impl PartialEq<SocketState> for SocketState
source§fn eq(&self, other: &SocketState) -> bool
fn eq(&self, other: &SocketState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SocketState
impl Serialize for SocketState
source§impl<'__s> ToSchema<'__s> for SocketState
impl<'__s> ToSchema<'__s> for SocketState
impl Copy for SocketState
impl Eq for SocketState
impl StructuralEq for SocketState
impl StructuralPartialEq for SocketState
Auto Trait Implementations§
impl RefUnwindSafe for SocketState
impl Send for SocketState
impl Sync for SocketState
impl Unpin for SocketState
impl UnwindSafe for SocketState
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.