pub struct RouteProperties {
pub specified_properties: SpecifiedRouteProperties,
}
Expand description
The properties of a route, abstracting over
fnet_routes::RoutePropertiesV4
and fnet_routes::RoutePropertiesV6
.
Fields§
§specified_properties: SpecifiedRouteProperties
the specified properties of the route.
Trait Implementations§
source§impl Clone for RouteProperties
impl Clone for RouteProperties
source§fn clone(&self) -> RouteProperties
fn clone(&self) -> RouteProperties
Returns a copy 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 RouteProperties
impl Debug for RouteProperties
source§impl From<RouteProperties> for RoutePropertiesV4
impl From<RouteProperties> for RoutePropertiesV4
source§fn from(properties: RouteProperties) -> RoutePropertiesV4
fn from(properties: RouteProperties) -> RoutePropertiesV4
Converts to this type from the input type.
source§impl From<RouteProperties> for RoutePropertiesV6
impl From<RouteProperties> for RoutePropertiesV6
source§fn from(properties: RouteProperties) -> RoutePropertiesV6
fn from(properties: RouteProperties) -> RoutePropertiesV6
Converts to this type from the input type.
source§impl Hash for RouteProperties
impl Hash for RouteProperties
source§impl Ord for RouteProperties
impl Ord for RouteProperties
source§fn cmp(&self, other: &RouteProperties) -> Ordering
fn cmp(&self, other: &RouteProperties) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RouteProperties
impl PartialEq for RouteProperties
source§fn eq(&self, other: &RouteProperties) -> bool
fn eq(&self, other: &RouteProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RouteProperties
impl PartialOrd for RouteProperties
source§fn partial_cmp(&self, other: &RouteProperties) -> Option<Ordering>
fn partial_cmp(&self, other: &RouteProperties) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<RoutePropertiesV4> for RouteProperties
impl TryFrom<RoutePropertiesV4> for RouteProperties
§type Error = FidlConversionError<RoutePropertiesRequiredFields>
type Error = FidlConversionError<RoutePropertiesRequiredFields>
The type returned in the event of a conversion error.
source§impl TryFrom<RoutePropertiesV6> for RouteProperties
impl TryFrom<RoutePropertiesV6> for RouteProperties
§type Error = FidlConversionError<RoutePropertiesRequiredFields>
type Error = FidlConversionError<RoutePropertiesRequiredFields>
The type returned in the event of a conversion error.
impl Copy for RouteProperties
impl Eq for RouteProperties
impl StructuralPartialEq for RouteProperties
Auto Trait Implementations§
impl Freeze for RouteProperties
impl RefUnwindSafe for RouteProperties
impl Send for RouteProperties
impl Sync for RouteProperties
impl Unpin for RouteProperties
impl UnwindSafe for RouteProperties
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
source§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
source§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.