Enum sim::trips::TripResult [−][src]
pub enum TripResult<T> { Ok(T), ModeChange, TripDone, TripDoesntExist, TripNotStarted, TripCancelled, }
Variants
Implementations
impl<T> TripResult<T>
[src]
impl<T> TripResult<T>
[src]pub fn ok(self) -> Option<T>
[src]
pub fn propagate_error<X>(self) -> TripResult<X>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for TripResult<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for TripResult<T> where
T: Send,
T: Send,
impl<T> Sync for TripResult<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TripResult<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for TripResult<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,