pub struct NoopExecutionGuard;Trait Implementations§
Source§impl Clone for NoopExecutionGuard
impl Clone for NoopExecutionGuard
Source§fn clone(&self) -> NoopExecutionGuard
fn clone(&self) -> NoopExecutionGuard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoopExecutionGuard
impl Debug for NoopExecutionGuard
Source§impl Default for NoopExecutionGuard
impl Default for NoopExecutionGuard
Source§fn default() -> NoopExecutionGuard
fn default() -> NoopExecutionGuard
Returns the “default value” for a type. Read more
Source§impl ExecutionGuard for NoopExecutionGuard
impl ExecutionGuard for NoopExecutionGuard
type Error = Infallible
async fn acquire( &self, slot: ExecutionSlot, ) -> Result<ExecutionGuardAcquire, Self::Error>
async fn renew( &self, _lease: &ExecutionLease, ) -> Result<ExecutionGuardRenewal, Self::Error>
async fn release(&self, _lease: &ExecutionLease) -> Result<(), Self::Error>
fn classify_error(_error: &Self::Error) -> ExecutionGuardErrorKindwhere
Self: Sized,
fn renew_interval(&self, _lease: &ExecutionLease) -> Option<Duration>
impl Copy for NoopExecutionGuard
Auto Trait Implementations§
impl Freeze for NoopExecutionGuard
impl RefUnwindSafe for NoopExecutionGuard
impl Send for NoopExecutionGuard
impl Sync for NoopExecutionGuard
impl Unpin for NoopExecutionGuard
impl UnsafeUnpin for NoopExecutionGuard
impl UnwindSafe for NoopExecutionGuard
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