Skip to main content

PushLinkinfoBridgeAttrs

Struct PushLinkinfoBridgeAttrs 

Source
pub struct PushLinkinfoBridgeAttrs<Prev: Pusher> { /* private fields */ }
Available on crate feature rt-link only.

Implementations§

Source§

impl<Prev: Pusher> PushLinkinfoBridgeAttrs<Prev>

Source

pub fn new(prev: Prev) -> Self

Source

pub fn end_nested(self) -> Prev

Source

pub fn push_forward_delay(self, value: u32) -> Self

Source

pub fn push_hello_time(self, value: u32) -> Self

Source

pub fn push_max_age(self, value: u32) -> Self

Source

pub fn push_ageing_time(self, value: u32) -> Self

Source

pub fn push_stp_state(self, value: u32) -> Self

Source

pub fn push_priority(self, value: u16) -> Self

Source

pub fn push_vlan_filtering(self, value: u8) -> Self

Source

pub fn push_vlan_protocol(self, value: u16) -> Self

Source

pub fn push_group_fwd_mask(self, value: u16) -> Self

Source

pub fn push_root_id(self, value: IflaBridgeId) -> Self

Source

pub fn push_bridge_id(self, value: IflaBridgeId) -> Self

Source

pub fn push_root_port(self, value: u16) -> Self

Source

pub fn push_root_path_cost(self, value: u32) -> Self

Source

pub fn push_topology_change(self, value: u8) -> Self

Source

pub fn push_topology_change_detected(self, value: u8) -> Self

Source

pub fn push_hello_timer(self, value: u64) -> Self

Source

pub fn push_tcn_timer(self, value: u64) -> Self

Source

pub fn push_topology_change_timer(self, value: u64) -> Self

Source

pub fn push_gc_timer(self, value: u64) -> Self

Source

pub fn push_group_addr(self, value: &[u8]) -> Self

Source

pub fn push_fdb_flush(self, value: &[u8]) -> Self

Source

pub fn push_mcast_router(self, value: u8) -> Self

Source

pub fn push_mcast_snooping(self, value: u8) -> Self

Source

pub fn push_mcast_query_use_ifaddr(self, value: u8) -> Self

Source

pub fn push_mcast_querier(self, value: u8) -> Self

Source

pub fn push_mcast_hash_elasticity(self, value: u32) -> Self

Source

pub fn push_mcast_hash_max(self, value: u32) -> Self

Source

pub fn push_mcast_last_member_cnt(self, value: u32) -> Self

Source

pub fn push_mcast_startup_query_cnt(self, value: u32) -> Self

Source

pub fn push_mcast_last_member_intvl(self, value: u64) -> Self

Source

pub fn push_mcast_membership_intvl(self, value: u64) -> Self

Source

pub fn push_mcast_querier_intvl(self, value: u64) -> Self

Source

pub fn push_mcast_query_intvl(self, value: u64) -> Self

Source

pub fn push_mcast_query_response_intvl(self, value: u64) -> Self

Source

pub fn push_mcast_startup_query_intvl(self, value: u64) -> Self

Source

pub fn push_nf_call_iptables(self, value: u8) -> Self

Source

pub fn push_nf_call_ip6tables(self, value: u8) -> Self

Source

pub fn push_nf_call_arptables(self, value: u8) -> Self

Source

pub fn push_vlan_default_pvid(self, value: u16) -> Self

Source

pub fn push_pad(self, value: &[u8]) -> Self

Source

pub fn push_vlan_stats_enabled(self, value: u8) -> Self

Source

pub fn push_mcast_stats_enabled(self, value: u8) -> Self

Source

pub fn push_mcast_igmp_version(self, value: u8) -> Self

Source

pub fn push_mcast_mld_version(self, value: u8) -> Self

Source

pub fn push_vlan_stats_per_port(self, value: u8) -> Self

Source

pub fn push_multi_boolopt(self, value: BrBooloptMulti) -> Self

Source

pub fn push_mcast_querier_state(self, value: &[u8]) -> Self

Source

pub fn push_fdb_n_learned(self, value: u32) -> Self

Source

pub fn push_fdb_max_learned(self, value: u32) -> Self

Source

pub fn push_stp_mode(self, value: u32) -> Self

Associated type: BrStpMode (enum)

Trait Implementations§

Source§

impl<Prev: Pusher> Drop for PushLinkinfoBridgeAttrs<Prev>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

fn pin_drop(self: Pin<&mut Self>)

🔬This is a nightly-only experimental API. (pin_ergonomics)
Execute the destructor for this type, but different to Drop::drop, it requires self to be pinned. Read more
Source§

impl<Prev: Pusher> Pusher for PushLinkinfoBridgeAttrs<Prev>

Source§

fn as_vec_mut(&mut self) -> &mut Vec<u8>

Source§

fn as_vec(&self) -> &Vec<u8>

Source§

fn as_rec(&self) -> &Vec<u8>

👎Deprecated:

Use .as_vec() instead (rec -> vec)

Source§

fn as_rec_mut(&mut self) -> &mut Vec<u8>

👎Deprecated:

Use .as_vec_mut() instead (rec -> vec)

Auto Trait Implementations§

§

impl<Prev> Freeze for PushLinkinfoBridgeAttrs<Prev>
where Prev: Freeze,

§

impl<Prev> RefUnwindSafe for PushLinkinfoBridgeAttrs<Prev>
where Prev: RefUnwindSafe,

§

impl<Prev> Send for PushLinkinfoBridgeAttrs<Prev>
where Prev: Send,

§

impl<Prev> Sync for PushLinkinfoBridgeAttrs<Prev>
where Prev: Sync,

§

impl<Prev> Unpin for PushLinkinfoBridgeAttrs<Prev>
where Prev: Unpin,

§

impl<Prev> UnsafeUnpin for PushLinkinfoBridgeAttrs<Prev>
where Prev: UnsafeUnpin,

§

impl<Prev> UnwindSafe for PushLinkinfoBridgeAttrs<Prev>
where Prev: 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, 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.