Enum async_socks5::StringKind
source · pub enum StringKind {
Domain,
Username,
Password,
}
Expand description
Required to mark which string is too long.
See Error::TooLongString
.
Variants§
Trait Implementations§
source§impl Clone for StringKind
impl Clone for StringKind
source§fn clone(&self) -> StringKind
fn clone(&self) -> StringKind
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 StringKind
impl Debug for StringKind
source§impl Hash for StringKind
impl Hash for StringKind
source§impl PartialEq for StringKind
impl PartialEq for StringKind
source§fn eq(&self, other: &StringKind) -> bool
fn eq(&self, other: &StringKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StringKind
impl Eq for StringKind
impl StructuralPartialEq for StringKind
Auto Trait Implementations§
impl RefUnwindSafe for StringKind
impl Send for StringKind
impl Sync for StringKind
impl Unpin for StringKind
impl UnwindSafe for StringKind
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