Trait rmodbus::VectorTrait
source · pub trait VectorTrait<T: Copy> {
// Required methods
fn push(&mut self, value: T) -> Result<(), ErrorKind>;
fn extend(&mut self, other: &[T]) -> Result<(), ErrorKind>;
fn len(&self) -> usize;
fn is_empty(&self) -> bool;
fn clear(&mut self);
fn cut_end(&mut self, len_to_cut: usize, value: T);
fn as_slice(&self) -> &[T];
fn replace(&mut self, index: usize, value: T);
}