pub enum BindError {
InvalidState,
InvalidEndpoint,
NoRoute,
}
Expand description
Error returned by IcmpSocket::bind
.
Variants§
InvalidState
The socket was already open.
InvalidEndpoint
The endpoint isn’t specified
NoRoute
No route to host.
Trait Implementations§
impl Copy for BindError
impl Eq for BindError
impl StructuralPartialEq for BindError
Auto Trait Implementations§
impl Freeze for BindError
impl RefUnwindSafe for BindError
impl Send for BindError
impl Sync for BindError
impl Unpin for BindError
impl UnwindSafe for BindError
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