pub enum AllOptData {
Nsid(Nsid),
Dau(Dau),
Dhu(Dhu),
N3u(N3u),
Expire(Expire),
TcpKeepalive(TcpKeepalive),
Padding(Padding),
ClientSubnet(ClientSubnet),
Cookie(Cookie),
Chain(Chain),
KeyTag(KeyTag),
Other(UnknownOptData),
// some variants omitted
}
Variants§
Nsid(Nsid)
Dau(Dau)
Dhu(Dhu)
N3u(N3u)
Expire(Expire)
TcpKeepalive(TcpKeepalive)
Padding(Padding)
ClientSubnet(ClientSubnet)
Cookie(Cookie)
Chain(Chain)
KeyTag(KeyTag)
Other(UnknownOptData)
Trait Implementations§
Source§impl Clone for AllOptData
impl Clone for AllOptData
Source§fn clone(&self) -> AllOptData
fn clone(&self) -> AllOptData
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 Compose for AllOptData
impl Compose for AllOptData
Source§impl Debug for AllOptData
impl Debug for AllOptData
Source§impl From<Chain> for AllOptData
impl From<Chain> for AllOptData
Source§impl From<ClientSubnet> for AllOptData
impl From<ClientSubnet> for AllOptData
Source§fn from(value: ClientSubnet) -> Self
fn from(value: ClientSubnet) -> Self
Converts to this type from the input type.
Source§impl From<Cookie> for AllOptData
impl From<Cookie> for AllOptData
Source§impl From<Dau> for AllOptData
impl From<Dau> for AllOptData
Source§impl From<Dhu> for AllOptData
impl From<Dhu> for AllOptData
Source§impl From<Expire> for AllOptData
impl From<Expire> for AllOptData
Source§impl From<KeyTag> for AllOptData
impl From<KeyTag> for AllOptData
Source§impl From<N3u> for AllOptData
impl From<N3u> for AllOptData
Source§impl From<Nsid> for AllOptData
impl From<Nsid> for AllOptData
Source§impl From<Padding> for AllOptData
impl From<Padding> for AllOptData
Source§impl From<TcpKeepalive> for AllOptData
impl From<TcpKeepalive> for AllOptData
Source§fn from(value: TcpKeepalive) -> Self
fn from(value: TcpKeepalive) -> Self
Converts to this type from the input type.
Source§impl OptData for AllOptData
impl OptData for AllOptData
type ParseErr = AllOptParseError
fn code(&self) -> OptionCode
fn parse_option( code: OptionCode, parser: &mut Parser, len: usize, ) -> Result<Option<Self>, Self::ParseErr>
Auto Trait Implementations§
impl !Freeze for AllOptData
impl RefUnwindSafe for AllOptData
impl Send for AllOptData
impl Sync for AllOptData
impl Unpin for AllOptData
impl UnwindSafe for AllOptData
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