pub enum ResourceCommandCause {
Planner {
collection: NodeId,
},
ScopeClosed {
scope: ScopeId,
},
}Expand description
Graph-visible cause for an emitted resource command.
Variants§
Planner
A resource planner ran because a collection diff was available.
ScopeClosed
Scope teardown removed ownership.
Trait Implementations§
Source§impl Clone for ResourceCommandCause
impl Clone for ResourceCommandCause
Source§fn clone(&self) -> ResourceCommandCause
fn clone(&self) -> ResourceCommandCause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResourceCommandCause
Source§impl Debug for ResourceCommandCause
impl Debug for ResourceCommandCause
impl Eq for ResourceCommandCause
Source§impl PartialEq for ResourceCommandCause
impl PartialEq for ResourceCommandCause
Source§fn eq(&self, other: &ResourceCommandCause) -> bool
fn eq(&self, other: &ResourceCommandCause) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceCommandCause
Auto Trait Implementations§
impl Freeze for ResourceCommandCause
impl RefUnwindSafe for ResourceCommandCause
impl Send for ResourceCommandCause
impl Sync for ResourceCommandCause
impl Unpin for ResourceCommandCause
impl UnsafeUnpin for ResourceCommandCause
impl UnwindSafe for ResourceCommandCause
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