pub enum ConnectState {
Empty,
Listening,
Connected,
Connecting,
}
Variants§
Trait Implementations§
Source§impl Clone for ConnectState
impl Clone for ConnectState
Source§fn clone(&self) -> ConnectState
fn clone(&self) -> ConnectState
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 ConnectState
impl Debug for ConnectState
Source§impl Default for ConnectState
impl Default for ConnectState
Source§impl PartialEq for ConnectState
impl PartialEq for ConnectState
impl Copy for ConnectState
impl Eq for ConnectState
impl StructuralPartialEq for ConnectState
Auto Trait Implementations§
impl Freeze for ConnectState
impl RefUnwindSafe for ConnectState
impl Send for ConnectState
impl Sync for ConnectState
impl Unpin for ConnectState
impl UnwindSafe for ConnectState
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