#[non_exhaustive]pub enum StackDisposition {
Cached,
Discarded,
}Expand description
What happened to a stack after task ownership ended.
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.
Cached
The mapping entered its carrier’s bounded cache.
Discarded
The mapping was unmapped instead of entering the cache.
Trait Implementations§
Source§impl Clone for StackDisposition
impl Clone for StackDisposition
impl Copy for StackDisposition
Source§impl Debug for StackDisposition
impl Debug for StackDisposition
impl Eq for StackDisposition
Source§impl PartialEq for StackDisposition
impl PartialEq for StackDisposition
impl StructuralPartialEq for StackDisposition
Auto Trait Implementations§
impl Forget for StackDisposition
impl Freeze for StackDisposition
impl RefUnwindSafe for StackDisposition
impl Send for StackDisposition
impl Sync for StackDisposition
impl Unpin for StackDisposition
impl UnsafeUnpin for StackDisposition
impl UnwindSafe for StackDisposition
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