pub enum UnixSocketState {
Unbound,
Bound,
Listening,
Connected,
Closed,
}Expand description
Unix socket state.
Variants§
Unbound
Newly created, not yet bound or connected.
Bound
Bound to a path, not yet listening or connected.
Listening
Listening for incoming connections (stream only).
Connected
Connected to a peer.
Closed
Connection closed.
Trait Implementations§
Source§impl Clone for UnixSocketState
impl Clone for UnixSocketState
Source§fn clone(&self) -> UnixSocketState
fn clone(&self) -> UnixSocketState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnixSocketState
impl Debug for UnixSocketState
Source§impl PartialEq for UnixSocketState
impl PartialEq for UnixSocketState
impl Copy for UnixSocketState
impl Eq for UnixSocketState
impl StructuralPartialEq for UnixSocketState
Auto Trait Implementations§
impl Freeze for UnixSocketState
impl RefUnwindSafe for UnixSocketState
impl Send for UnixSocketState
impl Sync for UnixSocketState
impl Unpin for UnixSocketState
impl UnwindSafe for UnixSocketState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)