pub struct TrafficEngineering {
pub switching_capability: u8,
pub encoding: u8,
pub reserved: u16,
pub max_lsp_bandwidth: [f32; 8],
pub switching_capability_specific: Bytes,
}Expand description
BGP Traffic Engineering Attribute - RFC 5543
Fields§
§switching_capability: u8Switching Capability code defined by GMPLS.
encoding: u8Interface encoding code defined by GMPLS.
reserved: u16Reserved wire value.
RFC 5543 says originators should set this to zero and receivers must ignore it.
max_lsp_bandwidth: [f32; 8]Maximum LSP bandwidth for priorities 0 through 7, in bytes per second.
switching_capability_specific: BytesSwitching-capability-specific information retained as raw bytes.
Trait Implementations§
Source§impl Clone for TrafficEngineering
impl Clone for TrafficEngineering
Source§fn clone(&self) -> TrafficEngineering
fn clone(&self) -> TrafficEngineering
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 TrafficEngineering
impl Debug for TrafficEngineering
impl Eq for TrafficEngineering
Auto Trait Implementations§
impl !Freeze for TrafficEngineering
impl RefUnwindSafe for TrafficEngineering
impl Send for TrafficEngineering
impl Sync for TrafficEngineering
impl Unpin for TrafficEngineering
impl UnsafeUnpin for TrafficEngineering
impl UnwindSafe for TrafficEngineering
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more