pub trait Overflow<T>: Default {
// Required methods
fn is_empty(&self) -> bool;
fn drain<F>(&mut self, push: F)
where F: FnMut(T) -> Option<T>;
}Expand description
Retained overflow messages for a mailbox policy.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".