pub enum EkkoError {
Show 24 variants
SocketSendIcmpv4(String),
SocketSendIcmpv6(String),
SocketCreateIcmpv4(String),
SocketCreateIcmpv6(String),
SocketBindIpv4(String, String),
SocketBindIpv6(String, String),
SocketIpMismatch {
src: String,
dst: String,
},
SocketReceiveNoIpv4,
SocketReceiveNoIpv6,
SocketSetReceiveBufferSize(String),
SocketSetNonBlocking(bool, String),
SocketSetReadTimeout(String),
SocketSetMaxHopsIpv4(String),
SocketSetMaxHopsIpv6(String),
SocketSendBufferSize(String),
RequestIpMismatch {
src: String,
dst: String,
},
ResponseReadField(&'static str, String),
RequestReadField(&'static str, String),
RequestReadIcmpv4Type(&'static str, String),
RequestReadIcmpv6Type(&'static str, String),
RequestWriteIcmpv4Field(&'static str, String),
RequestWriteIcmpv6Field(&'static str, String),
RequestWriteIcmpv4Payload(String),
RequestWriteIcmpv6Payload(String),
}
Variants§
SocketSendIcmpv4(String)
SocketSendIcmpv6(String)
SocketCreateIcmpv4(String)
SocketCreateIcmpv6(String)
SocketBindIpv4(String, String)
SocketBindIpv6(String, String)
SocketIpMismatch
SocketReceiveNoIpv4
SocketReceiveNoIpv6
SocketSetReceiveBufferSize(String)
SocketSetNonBlocking(bool, String)
SocketSetReadTimeout(String)
SocketSetMaxHopsIpv4(String)
SocketSetMaxHopsIpv6(String)
SocketSendBufferSize(String)
RequestIpMismatch
ResponseReadField(&'static str, String)
RequestReadField(&'static str, String)
RequestReadIcmpv4Type(&'static str, String)
RequestReadIcmpv6Type(&'static str, String)
RequestWriteIcmpv4Field(&'static str, String)
RequestWriteIcmpv6Field(&'static str, String)
RequestWriteIcmpv4Payload(String)
RequestWriteIcmpv6Payload(String)
Trait Implementations§
source§impl Error for EkkoError
impl Error for EkkoError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for EkkoError
impl Send for EkkoError
impl Sync for EkkoError
impl Unpin for EkkoError
impl UnwindSafe for EkkoError
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