pub trait TryPush<A> {
// Required method
fn try_push(&mut self, item: A) -> Result<(), Error>;
}
Expand description
A trait describing the ability of a struct to receive new items.
pub trait TryPush<A> {
// Required method
fn try_push(&mut self, item: A) -> Result<(), Error>;
}
A trait describing the ability of a struct to receive new items.