Enum etherparse::err::ipv6_exts::ExtsWalkError
source · pub enum ExtsWalkError {
HopByHopNotAtStart,
ExtNotReferenced {
missing_ext: IpNumber,
},
}
Expand description
Errors in content of IPv6 header extensions that prevent serialization.
Variants§
HopByHopNotAtStart
Error when a hop-by-hop header is not referenced as the first header after the ipv6 header but as a later extension header.
ExtNotReferenced
Error when a header in crate::Ipv6Extensions
is never written
as it is never referenced by any of the other next_header
fields or the initial ip number.
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)>
Returns 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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)