pub enum ListenError {
InvalidState,
Unaddressable,
}
Expand description
Error returned by Socket::listen
Variants§
Trait Implementations§
Source§impl Clone for ListenError
impl Clone for ListenError
Source§fn clone(&self) -> ListenError
fn clone(&self) -> ListenError
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 ListenError
impl Debug for ListenError
Source§impl Display for ListenError
impl Display for ListenError
Source§impl PartialEq for ListenError
impl PartialEq for ListenError
impl Copy for ListenError
impl Eq for ListenError
impl StructuralPartialEq for ListenError
Auto Trait Implementations§
impl Freeze for ListenError
impl RefUnwindSafe for ListenError
impl Send for ListenError
impl Sync for ListenError
impl Unpin for ListenError
impl UnwindSafe for ListenError
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