#[non_exhaustive]pub enum CapacityResource {
Tasks,
Scopes,
CarrierQueue,
NativeJobs,
TaskLocals,
Waiters,
Readiness,
CancellationSubscriptions,
Lifecycles,
}Expand description
Bounded resource that rejected admission.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tasks
Retained task records.
Scopes
Root and supervisor scopes.
CarrierQueue
Per-carrier start packets.
NativeJobs
Queued, running and discarding native jobs combined.
TaskLocals
Per-task context entries, including initializing entries.
Waiters
Selected and waiting synchronization registrations.
Readiness
Outstanding readiness registrations.
CancellationSubscriptions
Cancellation subscribers.
Lifecycles
Unfinished runtime shutdown owners.
Trait Implementations§
Source§impl Clone for CapacityResource
impl Clone for CapacityResource
impl Copy for CapacityResource
Source§impl Debug for CapacityResource
impl Debug for CapacityResource
impl Eq for CapacityResource
Source§impl PartialEq for CapacityResource
impl PartialEq for CapacityResource
impl StructuralPartialEq for CapacityResource
Auto Trait Implementations§
impl Forget for CapacityResource
impl Freeze for CapacityResource
impl RefUnwindSafe for CapacityResource
impl Send for CapacityResource
impl Sync for CapacityResource
impl Unpin for CapacityResource
impl UnsafeUnpin for CapacityResource
impl UnwindSafe for CapacityResource
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