pub struct Detached {
pub removed: bool,
pub name: String,
}Expand description
What LifecycleTaskControl::detach did, and what it deliberately did not.
Fields§
§removed: boolWhether there was a task to remove.
name: StringThe task’s name, whether or not it was there.
Trait Implementations§
impl Eq for Detached
impl StructuralPartialEq for Detached
Auto Trait Implementations§
impl Freeze for Detached
impl RefUnwindSafe for Detached
impl Send for Detached
impl Sync for Detached
impl Unpin for Detached
impl UnsafeUnpin for Detached
impl UnwindSafe for Detached
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