pub struct GraphReady { /* private fields */ }
Expand description
A listener for when the graph is ready
Implementations§
Source§impl GraphReady
impl GraphReady
pub fn new<F>(func: F) -> GraphReady
Trait Implementations§
Source§impl Debug for GraphReady
impl Debug for GraphReady
Source§impl Listener for GraphReady
impl Listener for GraphReady
type Listened = Assemble
Source§fn add_listener(
self,
freight: &mut <GraphReady as Listener>::Listened,
) -> Result<(), PayloadError<ProjectError>>
fn add_listener( self, freight: &mut <GraphReady as Listener>::Listened, ) -> Result<(), PayloadError<ProjectError>>
Add a listener to freight
Source§impl TaskExecutionGraphListener for GraphReady
impl TaskExecutionGraphListener for GraphReady
fn graph_ready( &mut self, graph: &ExecutionGraph, ) -> Result<(), PayloadError<ProjectError>>
Auto Trait Implementations§
impl Freeze for GraphReady
impl !RefUnwindSafe for GraphReady
impl Send for GraphReady
impl Sync for GraphReady
impl Unpin for GraphReady
impl !UnwindSafe for GraphReady
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> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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