Enum bevy_impulse::disposal::DisposalCause
source · pub enum DisposalCause {
Show 13 variants
Supplanted(Supplanted),
Filtered(Filtered),
Branching(DisposedBranch),
BufferKey(DisposedBufferKey),
ServiceUnavailable(ServiceUnavailable),
TaskDespawned(TaskDespawned),
PoisonedMutex(PoisonedMutexDisposal),
Scope(Cancellation),
UnusedStreams(UnusedStreams),
Trimming(Trimming),
ClosedGate(ClosedGate),
EmptySpread(EmptySpread),
DeficientCollection(DeficientCollection),
}
Variants§
Supplanted(Supplanted)
Some services will queue up requests to deliver them one at a time. Depending on the label of the incoming requests, a new request might supplant an earlier one, causing the earlier request to be disposed.
Filtered(Filtered)
A node filtered out a response.
Branching(DisposedBranch)
A node disposed of one of its output branches.
BufferKey(DisposedBufferKey)
A buffer key was disposed, so a buffer will no longer be able to update.
A Service
provider needed by the chain was despawned
or had a critical component removed. The entity provided in the variant
is the unavailable service.
TaskDespawned(TaskDespawned)
An entity that was managing the execution of a task was despawned, causing the task to be cancelled and making it impossible to deliver a response.
PoisonedMutex(PoisonedMutexDisposal)
An output was disposed because a mutex was poisoned.
Scope(Cancellation)
A scope was cancelled so its output has been disposed.
UnusedStreams(UnusedStreams)
One or more streams from a node never emitted any signal. This can lead to unexpected
Trimming(Trimming)
Some nodes in the workflow were trimmed.
ClosedGate(ClosedGate)
A gate was closed, which cut off the ability of a workflow to proceed.
EmptySpread(EmptySpread)
A spread operation was given an empty collection so there was nothing to spread. As a result, no signal was sent out of the node after it received a signal.
DeficientCollection(DeficientCollection)
A collect operation has a minimum number of entries, and it appears the workflow will not be able to meet that minimum, so a disposal notice has been sent out to indicate that the workflow is blocked up on the collection.
Trait Implementations§
source§impl Debug for DisposalCause
impl Debug for DisposalCause
source§impl From<ClosedGate> for DisposalCause
impl From<ClosedGate> for DisposalCause
source§fn from(value: ClosedGate) -> Self
fn from(value: ClosedGate) -> Self
source§impl From<DeficientCollection> for DisposalCause
impl From<DeficientCollection> for DisposalCause
source§fn from(value: DeficientCollection) -> Self
fn from(value: DeficientCollection) -> Self
source§impl From<DisposedBranch> for DisposalCause
impl From<DisposedBranch> for DisposalCause
source§fn from(value: DisposedBranch) -> Self
fn from(value: DisposedBranch) -> Self
source§impl From<DisposedBufferKey> for DisposalCause
impl From<DisposedBufferKey> for DisposalCause
source§fn from(value: DisposedBufferKey) -> Self
fn from(value: DisposedBufferKey) -> Self
source§impl From<EmptySpread> for DisposalCause
impl From<EmptySpread> for DisposalCause
source§fn from(value: EmptySpread) -> Self
fn from(value: EmptySpread) -> Self
source§impl From<Filtered> for DisposalCause
impl From<Filtered> for DisposalCause
source§impl From<PoisonedMutexDisposal> for DisposalCause
impl From<PoisonedMutexDisposal> for DisposalCause
source§fn from(value: PoisonedMutexDisposal) -> Self
fn from(value: PoisonedMutexDisposal) -> Self
source§fn from(value: ServiceUnavailable) -> Self
fn from(value: ServiceUnavailable) -> Self
source§impl From<Supplanted> for DisposalCause
impl From<Supplanted> for DisposalCause
source§fn from(value: Supplanted) -> Self
fn from(value: Supplanted) -> Self
source§impl From<TaskDespawned> for DisposalCause
impl From<TaskDespawned> for DisposalCause
source§fn from(value: TaskDespawned) -> Self
fn from(value: TaskDespawned) -> Self
source§impl From<Trimming> for DisposalCause
impl From<Trimming> for DisposalCause
source§impl From<UnusedStreams> for DisposalCause
impl From<UnusedStreams> for DisposalCause
source§fn from(value: UnusedStreams) -> Self
fn from(value: UnusedStreams) -> Self
Auto Trait Implementations§
impl Freeze for DisposalCause
impl RefUnwindSafe for DisposalCause
impl Send for DisposalCause
impl Sync for DisposalCause
impl Unpin for DisposalCause
impl UnwindSafe for DisposalCause
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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> DowncastSync for T
impl<T> DowncastSync 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>
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>
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