pub struct ControlHoldGate { /* private fields */ }Expand description
Test-only gate that pauses supervisor drain of the control queue (§23).
While held, Cancel / ForceTerminate / BeginShutdown remain queued so
TransactionLimits.max_actor_commands plus-one can observe
ControlCapacityExceeded without the preferential control drain racing.
Implementations§
Trait Implementations§
Source§impl Debug for ControlHoldGate
impl Debug for ControlHoldGate
Source§impl Default for ControlHoldGate
impl Default for ControlHoldGate
Source§fn default() -> ControlHoldGate
fn default() -> ControlHoldGate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ControlHoldGate
impl RefUnwindSafe for ControlHoldGate
impl Send for ControlHoldGate
impl Sync for ControlHoldGate
impl Unpin for ControlHoldGate
impl UnsafeUnpin for ControlHoldGate
impl UnwindSafe for ControlHoldGate
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