pub struct Inet6DevConfBuffer<T> { /* private fields */ }

Implementations§

source§

impl<T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn new(buffer: T) -> Self

source

pub fn into_inner(self) -> T

source§

impl<'a, T: AsRef<[u8]> + ?Sized> Inet6DevConfBuffer<&'a T>

source

pub fn inner(&self) -> &'a [u8]

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]> + ?Sized> Inet6DevConfBuffer<&'a mut T>

source

pub fn inner_mut(&mut self) -> &mut [u8]

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn forwarding(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn hoplimit(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn mtu6(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_redirects(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn autoconf(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn dad_transmits(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn rtr_solicits(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn rtr_solicit_delay(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn use_tempaddr(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn temp_valid_lft(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn temp_prefered_lft(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn regen_max_retry(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn max_desync_factor(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn max_addresses(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn force_mld_version(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra_defrtr(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra_pinfo(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra_rtr_pref(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn rtr_probe_interval(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn proxy_ndp(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn optimistic_dad(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn mc_forwarding(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn disable_ipv6(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_dad(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn force_tllao(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ndisc_notify(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn use_optimistic(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra_mtu(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn stable_secret(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn use_oif_addrs_only(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn keep_addr_on_down(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn seg6_enabled(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn seg6_require_hmac(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn enhanced_dad(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn addr_gen_mode(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn disable_policy(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ndisc_tclass(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn rpl_seg_enabled(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ra_defrtr_metric(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ioam6_enabled(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ioam6_id(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn ioam6_id_wide(&self) -> i32

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn accept_ra_min_lft(&self) -> i32

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_forwarding(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_hoplimit(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_mtu6(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_redirects(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_autoconf(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_dad_transmits(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rtr_solicits(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rtr_solicit_interval(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rtr_solicit_delay(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_use_tempaddr(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_temp_valid_lft(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_temp_prefered_lft(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_regen_max_retry(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_max_desync_factor(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_max_addresses(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_force_mld_version(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_defrtr(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_pinfo(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_rtr_pref(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rtr_probe_interval(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_rt_info_max_plen(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_proxy_ndp(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_optimistic_dad(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_source_route(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_mc_forwarding(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_disable_ipv6(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_dad(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_force_tllao(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ndisc_notify(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_suppress_frag_ndisc(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_from_local(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_use_optimistic(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_mtu(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_stable_secret(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_use_oif_addrs_only(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_min_hop_limit(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ignore_routes_with_linkdown(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_drop_unsolicited_na(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_keep_addr_on_down(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rtr_solicit_max_interval(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_seg6_enabled(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_seg6_require_hmac(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_enhanced_dad(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_addr_gen_mode(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_disable_policy(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_rt_info_min_plen(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ndisc_tclass(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_rpl_seg_enabled(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ra_defrtr_metric(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ioam6_enabled(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ioam6_id(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ioam6_id_wide(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_ndisc_evict_nocarrier(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_untracked_na(&mut self, value: i32)

source§

impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> Inet6DevConfBuffer<T>

source

pub fn set_accept_ra_min_lft(&mut self, value: i32)

source§

impl<T: AsRef<[u8]>> Inet6DevConfBuffer<T>

source

pub fn new_checked(buffer: T) -> Result<Self, DecodeError>

Trait Implementations§

source§

impl<T: Clone> Clone for Inet6DevConfBuffer<T>

source§

fn clone(&self) -> Inet6DevConfBuffer<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Debug> Debug for Inet6DevConfBuffer<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: AsRef<[u8]>> Parseable<Inet6DevConfBuffer<T>> for Inet6DevConf

source§

fn parse(buf: &Inet6DevConfBuffer<T>) -> Result<Self, DecodeError>

Deserialize the current type.
source§

impl<T: PartialEq> PartialEq for Inet6DevConfBuffer<T>

source§

fn eq(&self, other: &Inet6DevConfBuffer<T>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<T: Copy> Copy for Inet6DevConfBuffer<T>

source§

impl<T: Eq> Eq for Inet6DevConfBuffer<T>

source§

impl<T> StructuralEq for Inet6DevConfBuffer<T>

source§

impl<T> StructuralPartialEq for Inet6DevConfBuffer<T>

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for Inet6DevConfBuffer<T>
where T: RefUnwindSafe,

§

impl<T> Send for Inet6DevConfBuffer<T>
where T: Send,

§

impl<T> Sync for Inet6DevConfBuffer<T>
where T: Sync,

§

impl<T> Unpin for Inet6DevConfBuffer<T>
where T: Unpin,

§

impl<T> UnwindSafe for Inet6DevConfBuffer<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.