Enum futures_bounded::PushError
source · pub enum PushError<F> {
BeyondCapacity(F),
ReplacedFuture(F),
}
Expand description
Error of a future pushing
Variants§
BeyondCapacity(F)
The length of the set is equal to the capacity
ReplacedFuture(F)
The set already contains the given future’s ID
Trait Implementations§
source§impl<F: PartialEq> PartialEq<PushError<F>> for PushError<F>
impl<F: PartialEq> PartialEq<PushError<F>> for PushError<F>
impl<F> StructuralPartialEq for PushError<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for PushError<F>where F: RefUnwindSafe,
impl<F> Send for PushError<F>where F: Send,
impl<F> Sync for PushError<F>where F: Sync,
impl<F> Unpin for PushError<F>where F: Unpin,
impl<F> UnwindSafe for PushError<F>where F: 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