pub enum Ipv6PacketBuildError {
MissingNextHeader,
MissingHopLimit,
MissingSource,
MissingDestination,
FlowLabelTooLarge,
PayloadLengthTooLarge,
BufferTooShort {
required: usize,
available: usize,
},
}Expand description
Failure while validating an IPv6 builder request.
Variants§
MissingNextHeader
No Next Header value was supplied.
MissingHopLimit
No hop limit was supplied.
MissingSource
No source address was supplied.
MissingDestination
No destination address was supplied.
FlowLabelTooLarge
The flow label exceeds its 20-bit field.
PayloadLengthTooLarge
The payload exceeds the base header’s 16-bit Payload Length field.
BufferTooShort
The caller buffer cannot hold the base header and declared payload.
Trait Implementations§
Source§impl Clone for Ipv6PacketBuildError
impl Clone for Ipv6PacketBuildError
impl Copy for Ipv6PacketBuildError
Source§impl Debug for Ipv6PacketBuildError
impl Debug for Ipv6PacketBuildError
Source§impl Display for Ipv6PacketBuildError
impl Display for Ipv6PacketBuildError
impl Eq for Ipv6PacketBuildError
Source§impl PartialEq for Ipv6PacketBuildError
impl PartialEq for Ipv6PacketBuildError
impl StructuralPartialEq for Ipv6PacketBuildError
Auto Trait Implementations§
impl Freeze for Ipv6PacketBuildError
impl RefUnwindSafe for Ipv6PacketBuildError
impl Send for Ipv6PacketBuildError
impl Sync for Ipv6PacketBuildError
impl Unpin for Ipv6PacketBuildError
impl UnsafeUnpin for Ipv6PacketBuildError
impl UnwindSafe for Ipv6PacketBuildError
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