pub enum FullPolicy {
Reject,
WaitUntilDeadline,
CoalesceLatest,
DropStale,
CloseSlowConsumer,
}Expand description
Identifies the full policy state.
Variants§
Reject
Represents the reject case.
WaitUntilDeadline
Waits for capacity until the caller-provided absolute deadline.
CoalesceLatest
Represents the coalesce latest case.
DropStale
Represents the drop stale case.
CloseSlowConsumer
Represents the close slow consumer case.
Trait Implementations§
Source§impl Clone for FullPolicy
impl Clone for FullPolicy
impl Copy for FullPolicy
Source§impl Debug for FullPolicy
impl Debug for FullPolicy
impl Eq for FullPolicy
Source§impl PartialEq for FullPolicy
impl PartialEq for FullPolicy
impl StructuralPartialEq for FullPolicy
Auto Trait Implementations§
impl Freeze for FullPolicy
impl RefUnwindSafe for FullPolicy
impl Send for FullPolicy
impl Sync for FullPolicy
impl Unpin for FullPolicy
impl UnsafeUnpin for FullPolicy
impl UnwindSafe for FullPolicy
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