pub enum OptionType {
Configuration,
LoadBalancing,
IpV4Endpoint,
IpV6Endpoint,
IpV4Multicast,
IpV6Multicast,
IpV4SD,
IpV6SD,
}Expand description
The type of an SD option.
Variants§
Configuration
Configuration option (0x01).
LoadBalancing
Load balancing option (0x02).
IpV4Endpoint
IPv4 endpoint option (0x04).
IpV6Endpoint
IPv6 endpoint option (0x06).
IpV4Multicast
IPv4 multicast option (0x14).
IpV6Multicast
IPv6 multicast option (0x16).
IpV4SD
IPv4 SD option (0x24).
IpV6SD
IPv6 SD option (0x26).
Trait Implementations§
Source§impl Clone for OptionType
impl Clone for OptionType
Source§fn clone(&self) -> OptionType
fn clone(&self) -> OptionType
Returns a duplicate 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 OptionType
impl Debug for OptionType
Source§impl From<OptionType> for u8
impl From<OptionType> for u8
Source§fn from(option_type: OptionType) -> u8
fn from(option_type: OptionType) -> u8
Converts to this type from the input type.
Source§impl PartialEq for OptionType
impl PartialEq for OptionType
Source§impl TryFrom<u8> for OptionType
impl TryFrom<u8> for OptionType
impl Copy for OptionType
impl Eq for OptionType
impl StructuralPartialEq for OptionType
Auto Trait Implementations§
impl Freeze for OptionType
impl RefUnwindSafe for OptionType
impl Send for OptionType
impl Sync for OptionType
impl Unpin for OptionType
impl UnsafeUnpin for OptionType
impl UnwindSafe for OptionType
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