pub struct EventsExecutorAdapter<'a> {
pub runner: &'a mut Runner,
}Fields§
§runner: &'a mut RunnerTrait Implementations§
Source§impl EventsExecutor for EventsExecutorAdapter<'_>
impl EventsExecutor for EventsExecutorAdapter<'_>
type Key = NodeId
type Name = EventName
type Source = PlatformEvent
type Emmitable = EmmitableEvent
Source§fn emit_event(&mut self, event: Self::Emmitable) -> bool
fn emit_event(&mut self, event: Self::Emmitable) -> bool
Call the event handler of the given Self::Emmitable.
fn emitted_events(&mut self)
Auto Trait Implementations§
impl<'a> Freeze for EventsExecutorAdapter<'a>
impl<'a> !RefUnwindSafe for EventsExecutorAdapter<'a>
impl<'a> !Send for EventsExecutorAdapter<'a>
impl<'a> !Sync for EventsExecutorAdapter<'a>
impl<'a> Unpin for EventsExecutorAdapter<'a>
impl<'a> !UnwindSafe for EventsExecutorAdapter<'a>
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> EventsExecutorRunner for Twhere
T: EventsExecutor + Sealed,
impl<T> EventsExecutorRunner for Twhere
T: EventsExecutor + Sealed,
type Name = <T as EventsExecutor>::Name
type Key = <T as EventsExecutor>::Key
type Emmitable = <T as EventsExecutor>::Emmitable
type Source = <T as EventsExecutor>::Source
fn run( self, nodes_state: &mut NodesState<<T as EventsExecutorRunner>::Key>, _: ProcessedEvents<<T as EventsExecutorRunner>::Key, <T as EventsExecutorRunner>::Name, <T as EventsExecutorRunner>::Emmitable, <T as EventsExecutorRunner>::Source>, )
§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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more