pub struct BorderRoutingRouter {
pub address: Option<String>,
pub duration_since_last_update: Option<i64>,
pub age: Option<i64>,
pub managed_address_config_flag: Option<bool>,
pub other_config_flag: Option<bool>,
pub snac_router_flag: Option<bool>,
pub is_local_device: Option<bool>,
pub is_reachable: Option<bool>,
pub is_peer_br: Option<bool>,
/* private fields */
}Expand description
The discovered routers by Border Routing Manager on the infrastructure link.
Fields§
§address: Option<String>IPv6 address string of the router.
Required.
duration_since_last_update: Option<i64>Duration since last update (any message rx) from this router.
Required.
age: Option<i64>The router’s age (duration since its first discovery).
Required.
managed_address_config_flag: Option<bool>The router’s Managed Address Config flag (M flag).
Required.
other_config_flag: Option<bool>The router’s Other Config flag (O flag).
Required.
snac_router_flag: Option<bool>The router’s SNAC Router flag (S flag).
Required.
is_local_device: Option<bool>This router is the local device (this BR).
Required.
is_reachable: Option<bool>This router is reachable.
Required.
is_peer_br: Option<bool>This router is (likely) a peer BR.
Required.
Trait Implementations§
Source§impl Clone for BorderRoutingRouter
impl Clone for BorderRoutingRouter
Source§fn clone(&self) -> BorderRoutingRouter
fn clone(&self) -> BorderRoutingRouter
Returns a duplicate of the value. Read more
1.0.0 · 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 BorderRoutingRouter
impl Debug for BorderRoutingRouter
Source§impl<D: ResourceDialect> Decode<BorderRoutingRouter, D> for BorderRoutingRouter
impl<D: ResourceDialect> Decode<BorderRoutingRouter, D> for BorderRoutingRouter
Source§impl Default for BorderRoutingRouter
impl Default for BorderRoutingRouter
Source§fn default() -> BorderRoutingRouter
fn default() -> BorderRoutingRouter
Returns the “default value” for a type. Read more
Source§impl<D: ResourceDialect> Encode<BorderRoutingRouter, D> for &BorderRoutingRouter
impl<D: ResourceDialect> Encode<BorderRoutingRouter, D> for &BorderRoutingRouter
Source§impl PartialEq for BorderRoutingRouter
impl PartialEq for BorderRoutingRouter
Source§impl TypeMarker for BorderRoutingRouter
impl TypeMarker for BorderRoutingRouter
Source§type Owned = BorderRoutingRouter
type Owned = BorderRoutingRouter
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for BorderRoutingRouter
impl ValueTypeMarker for BorderRoutingRouter
Source§type Borrowed<'a> = &'a BorderRoutingRouter
type Borrowed<'a> = &'a BorderRoutingRouter
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreimpl Persistable for BorderRoutingRouter
impl StructuralPartialEq for BorderRoutingRouter
Auto Trait Implementations§
impl Freeze for BorderRoutingRouter
impl RefUnwindSafe for BorderRoutingRouter
impl Send for BorderRoutingRouter
impl Sync for BorderRoutingRouter
impl Unpin for BorderRoutingRouter
impl UnwindSafe for BorderRoutingRouter
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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