Enum etherparse::err::ipv4_exts::ExtsWalkError
source · pub enum ExtsWalkError {
ExtNotReferenced {
missing_ext: IpNumber,
},
}
Expand description
Errors in content of IPv4 header extensions that prevent serialization or determining the next header.
Variants§
ExtNotReferenced
Error when a header in crate::Ipv4Extensions
is never referenced even
though it is present in the crate::Ipv4Extensions
.
This can occur when calculating the “next header” value or when trying to write crate::Ipv4Extensions`.
Trait Implementations§
source§impl Clone for ExtsWalkError
impl Clone for ExtsWalkError
source§fn clone(&self) -> ExtsWalkError
fn clone(&self) -> ExtsWalkError
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 ExtsWalkError
impl Debug for ExtsWalkError
source§impl Display for ExtsWalkError
impl Display for ExtsWalkError
source§impl Error for ExtsWalkError
Available on crate feature std
only.
impl Error for ExtsWalkError
Available on crate feature
std
only.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 Hash for ExtsWalkError
impl Hash for ExtsWalkError
source§impl PartialEq for ExtsWalkError
impl PartialEq for ExtsWalkError
source§fn eq(&self, other: &ExtsWalkError) -> bool
fn eq(&self, other: &ExtsWalkError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExtsWalkError
impl StructuralPartialEq for ExtsWalkError
Auto Trait Implementations§
impl Freeze for ExtsWalkError
impl RefUnwindSafe for ExtsWalkError
impl Send for ExtsWalkError
impl Sync for ExtsWalkError
impl Unpin for ExtsWalkError
impl UnwindSafe for ExtsWalkError
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