Trait bagpipe::bag::RevocableWeakBag
[−]
[src]
pub trait RevocableWeakBag: SharedWeakBag where
Self::Item: Revocable, { unsafe fn revoke(it: &Self::Item) -> bool; }
A SharedWeakBag
that can attempt to revoke push
operations.
Required Methods
unsafe fn revoke(it: &Self::Item) -> bool
Attempt to remove it
from the bag, returning true
if successful.
This operation is unsafe because the underlying implementation may assume that it
is (or
was) successfully pushed into the bag at some point.
Implementors
impl<T: Node + Revocable + 'static> RevocableWeakBag for FAAQueueLowLevel<T, Revoker<T>>