pub struct RouteOutcome {
pub route: TransportRoute,
pub active_mode: TransportMode,
pub switch: Option<ModeSwitchSignal>,
pub delivered: bool,
}Expand description
Result of a single routing operation.
Fields§
§route: TransportRoute§active_mode: TransportMode§switch: Option<ModeSwitchSignal>§delivered: boolTrait Implementations§
Source§impl Clone for RouteOutcome
impl Clone for RouteOutcome
Source§fn clone(&self) -> RouteOutcome
fn clone(&self) -> RouteOutcome
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 moreAuto Trait Implementations§
impl Freeze for RouteOutcome
impl RefUnwindSafe for RouteOutcome
impl Send for RouteOutcome
impl Sync for RouteOutcome
impl Unpin for RouteOutcome
impl UnsafeUnpin for RouteOutcome
impl UnwindSafe for RouteOutcome
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