pub trait WithQueuedVecInner<A: 'static, T: 'static, const N: usize> {
// Required method
fn with_queued_vec_inner<F, O>(&self, operation: F) -> O
where F: FnOnce(&mut QueuedVecInner<A, T, N>) -> O;
// Provided methods
fn push<'a>(&'a self, item: T) -> PushFuture<'a, Self, A, T, N> ⓘ { ... }
fn try_push(&self, item: T) -> Result<(), T> { ... }
fn operate<F, O>(&self, operation: F) -> O
where F: FnOnce(&mut Vec<T, N>) -> O { ... }
fn retain<F>(&self, f: F)
where F: FnMut(&T) -> bool { ... }
}Required Methods§
fn with_queued_vec_inner<F, O>(&self, operation: F) -> Owhere
F: FnOnce(&mut QueuedVecInner<A, T, N>) -> O,
Provided Methods§
Sourcefn push<'a>(&'a self, item: T) -> PushFuture<'a, Self, A, T, N> ⓘ
fn push<'a>(&'a self, item: T) -> PushFuture<'a, Self, A, T, N> ⓘ
Pushes an item to the vec. Waits until there is space.
fn try_push(&self, item: T) -> Result<(), T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.