Trait seec::protocols::SetupStorage
source · pub trait SetupStorage: Default + Sized + Send + Sync {
// Required methods
fn len(&self) -> usize;
fn split_off_last(&mut self, count: usize) -> Self;
fn reserve(&mut self, additional: usize);
fn append(&mut self, other: Self);
// Provided methods
fn is_empty(&self) -> bool { ... }
fn remove_first(&mut self, count: usize) -> Self { ... }
}
Required Methods§
fn len(&self) -> usize
sourcefn split_off_last(&mut self, count: usize) -> Self
fn split_off_last(&mut self, count: usize) -> Self
Split of the last count
mul triples.
fn reserve(&mut self, additional: usize)
fn append(&mut self, other: Self)
Provided Methods§
fn is_empty(&self) -> bool
sourcefn remove_first(&mut self, count: usize) -> Self
fn remove_first(&mut self, count: usize) -> Self
Removes the first count
elements from self and returns them.
Object Safety§
This trait is not object safe.