Enum ipstack::IpStackError
source · pub enum IpStackError {
UnsupportedTransportProtocol,
InvalidPacket,
ValueTooBigErrorU16(ValueTooBigError<u16>),
ValueTooBigErrorUsize(ValueTooBigError<usize>),
InvalidTcpPacket,
IoError(Error),
AcceptError,
SendError(SendError<IpStackStream>),
}Variants§
UnsupportedTransportProtocol
InvalidPacket
ValueTooBigErrorU16(ValueTooBigError<u16>)
ValueTooBigErrorUsize(ValueTooBigError<usize>)
InvalidTcpPacket
IoError(Error)
AcceptError
SendError(SendError<IpStackStream>)
Trait Implementations§
source§impl Debug for IpStackError
impl Debug for IpStackError
source§impl Display for IpStackError
impl Display for IpStackError
source§impl Error for IpStackError
impl Error for IpStackError
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()
source§impl From<Error> for IpStackError
impl From<Error> for IpStackError
source§impl From<IpStackError> for Error
impl From<IpStackError> for Error
source§fn from(e: IpStackError) -> Self
fn from(e: IpStackError) -> Self
Converts to this type from the input type.
source§impl From<SendError<IpStackStream>> for IpStackError
impl From<SendError<IpStackStream>> for IpStackError
source§fn from(source: SendError<IpStackStream>) -> Self
fn from(source: SendError<IpStackStream>) -> Self
Converts to this type from the input type.
source§impl From<ValueTooBigError<u16>> for IpStackError
impl From<ValueTooBigError<u16>> for IpStackError
source§fn from(source: ValueTooBigError<u16>) -> Self
fn from(source: ValueTooBigError<u16>) -> Self
Converts to this type from the input type.
source§impl From<ValueTooBigError<usize>> for IpStackError
impl From<ValueTooBigError<usize>> for IpStackError
source§fn from(source: ValueTooBigError<usize>) -> Self
fn from(source: ValueTooBigError<usize>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for IpStackError
impl Send for IpStackError
impl Sync for IpStackError
impl Unpin for IpStackError
impl !UnwindSafe for IpStackError
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