pub(crate) struct Deferral {
pub(crate) release_at: Instant,
pub(crate) requested: Duration,
pub(crate) applied: Duration,
}Expand description
A resolved release deadline, and whether EgressConfig::max_hold cut
it short.
Fields§
§release_at: InstantThe deadline to put on the Pending, before the queue’s own
monotonic clamp.
requested: DurationWhat was asked for.
applied: DurationWhat was applied.
Implementations§
Trait Implementations§
impl Copy for Deferral
impl Eq for Deferral
impl StructuralPartialEq for Deferral
Auto Trait Implementations§
impl Freeze for Deferral
impl RefUnwindSafe for Deferral
impl Send for Deferral
impl Sync for Deferral
impl Unpin for Deferral
impl UnsafeUnpin for Deferral
impl UnwindSafe for Deferral
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