pub struct NodeAttributes {
pub configured_nad: NAD,
pub initial_nad: NAD,
pub product_id: ProductId,
pub p2_min: P2Min,
pub st_min: STMin,
pub n_as_timeout: NAsTimeout,
pub n_cr_timeout: NCrTimeout,
}Expand description
Holds the most important node attributes
Fields§
§configured_nad: NAD§initial_nad: NAD§product_id: ProductId§p2_min: P2Min§st_min: STMin§n_as_timeout: NAsTimeout§n_cr_timeout: NCrTimeoutImplementations§
Source§impl NodeAttributes
impl NodeAttributes
pub fn with_default_timing( configured_nad: NAD, initial_nad: NAD, product_id: ProductId, ) -> NodeAttributes
Trait Implementations§
Source§impl Clone for NodeAttributes
impl Clone for NodeAttributes
Source§fn clone(&self) -> NodeAttributes
fn clone(&self) -> NodeAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeAttributes
impl Debug for NodeAttributes
Source§impl PartialEq for NodeAttributes
impl PartialEq for NodeAttributes
Source§fn eq(&self, other: &NodeAttributes) -> bool
fn eq(&self, other: &NodeAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NodeAttributes
impl StructuralPartialEq for NodeAttributes
Auto Trait Implementations§
impl Freeze for NodeAttributes
impl RefUnwindSafe for NodeAttributes
impl Send for NodeAttributes
impl Sync for NodeAttributes
impl Unpin for NodeAttributes
impl UnsafeUnpin for NodeAttributes
impl UnwindSafe for NodeAttributes
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