netlink_packet_route::link

Struct Inet6DevConfBuffer

Source
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§

type Error = DecodeError

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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> StructuralPartialEq for Inet6DevConfBuffer<T>

Auto Trait Implementations§

§

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

§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

Source§

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>,

Source§

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>,

Source§

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.