pub enum Routed {}Expand description
Route selected before its guard runs.
Trait Implementations§
Source§impl Set for Routed
impl Set for Routed
type SyncOpen = Track<Open>
type SyncFinished = Track<Finished>
type TaskOpen = Track<Open>
type TaskFinished = Track<Finished>
type DuplexOpen = ()
type DuplexFinished = ()
type UnsupportedOpen = Track<Open>
type UnsupportedFinished = Track<Finished>
Source§impl<P, E> TryVisit<P, Routed, Admitted, E> for Pass
impl<P, E> TryVisit<P, Routed, Admitted, E> for Pass
type Break<T, C> = Result<T, (Error<E, !, !>, C)>
fn sync_open<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::SyncOpen, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::SyncOpen)>
fn sync_done<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::SyncFinished, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::SyncFinished)>
fn task_open<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::TaskOpen, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::TaskOpen)>
fn task_done<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::TaskFinished, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::TaskFinished)>
fn duplex_open<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::DuplexOpen, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::DuplexOpen)>
fn duplex_done<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::DuplexFinished, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::DuplexFinished)>
fn reject_open<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::UnsupportedOpen, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::UnsupportedOpen)>
fn reject_done<S: Slot<P>, C, T>( &mut self, flow: ControlFlow<Self::Break<T, C>, S>, body: <Routed as Set>::UnsupportedFinished, ) -> ControlFlow<Self::Break<T, C>, (S, <Admitted as Set>::UnsupportedFinished)>
Source§impl<P> Visit<P, Routed, Admitted> for Pass
impl<P> Visit<P, Routed, Admitted> for Pass
type Break = !
fn sync_open<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::SyncOpen, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::SyncOpen)>
fn sync_done<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::SyncFinished, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::SyncFinished)>
fn task_open<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::TaskOpen, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::TaskOpen)>
fn task_done<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::TaskFinished, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::TaskFinished)>
fn duplex_open<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::DuplexOpen, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::DuplexOpen)>
fn duplex_done<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::DuplexFinished, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::DuplexFinished)>
fn reject_open<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::UnsupportedOpen, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::UnsupportedOpen)>
fn reject_done<S: Slot<P>>( &mut self, slot: S, body: <Routed as Set>::UnsupportedFinished, ) -> ControlFlow<Self::Break, (S, <Admitted as Set>::UnsupportedFinished)>
Auto Trait Implementations§
impl Forget for Routed
impl Freeze for Routed
impl RefUnwindSafe for Routed
impl Send for Routed
impl Sync for Routed
impl Unpin for Routed
impl UnsafeUnpin for Routed
impl UnwindSafe for Routed
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