pub enum ControllerInflightGuard<'a> {
Active(InflightGuard<'a>),
Inert,
}Expand description
Controller-local in-flight guard wrapper.
Variants§
Active(InflightGuard<'a>)
In-flight guard delegated to an active generation.
Inert
Inert guard used while disabled/closing.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ControllerInflightGuard<'a>
impl<'a> !RefUnwindSafe for ControllerInflightGuard<'a>
impl<'a> Send for ControllerInflightGuard<'a>
impl<'a> Sync for ControllerInflightGuard<'a>
impl<'a> Unpin for ControllerInflightGuard<'a>
impl<'a> UnsafeUnpin for ControllerInflightGuard<'a>
impl<'a> !UnwindSafe for ControllerInflightGuard<'a>
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