pub enum ControlOption {
Unrecognized(u8, Vec<u8>),
IpCompressionProtocol(u16, Vec<u8>),
IpAddress(u32),
}
Expand description
An IPCP control option.
Variants§
Unrecognized(u8, Vec<u8>)
Any sequence of bytes not recognized as a valid option.
IpCompressionProtocol(u16, Vec<u8>)
The compression protocol desired, and any additional data as determined by the particular protocol.
IpAddress(u32)
The desired local address of the sender.
Trait Implementations§
Source§impl Clone for ControlOption
impl Clone for ControlOption
Source§fn clone(&self) -> ControlOption
fn clone(&self) -> ControlOption
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 ControlOption
impl Debug for ControlOption
Source§impl Hash for ControlOption
impl Hash for ControlOption
Source§impl PartialEq for ControlOption
impl PartialEq for ControlOption
impl Eq for ControlOption
impl StructuralPartialEq for ControlOption
Auto Trait Implementations§
impl Freeze for ControlOption
impl RefUnwindSafe for ControlOption
impl Send for ControlOption
impl Sync for ControlOption
impl Unpin for ControlOption
impl UnwindSafe for ControlOption
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
)