pub struct FIFO<P: Priority>(/* private fields */);Expand description
A priority wrapper where newer entries with the same priority are placed after existing entries.
Trait Implementations§
Source§impl<P: Priority + ConstDefault> ConstDefault for FIFO<P>
Available on crate feature const-default only.
impl<P: Priority + ConstDefault> ConstDefault for FIFO<P>
Available on crate feature
const-default only.Source§impl<'de, P> Deserialize<'de> for FIFO<P>where
P: Deserialize<'de> + Priority,
impl<'de, P> Deserialize<'de> for FIFO<P>where
P: Deserialize<'de> + Priority,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<P: Copy + Priority> Copy for FIFO<P>
Auto Trait Implementations§
impl<P> Freeze for FIFO<P>where
P: Freeze,
impl<P> RefUnwindSafe for FIFO<P>where
P: RefUnwindSafe,
impl<P> Send for FIFO<P>where
P: Send,
impl<P> Sync for FIFO<P>where
P: Sync,
impl<P> Unpin for FIFO<P>where
P: Unpin,
impl<P> UnsafeUnpin for FIFO<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for FIFO<P>where
P: UnwindSafe,
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