NonEmptyVec
Module: non_empty::vec::NonEmptyVec
Section titled “Module: non_empty::vec::NonEmptyVec”Contents
Section titled “Contents”Functions
new- Wrapsinner, failing if it’s empty.
firma_secret_provider::non_empty::vec::NonEmptyVec::new
Section titled “firma_secret_provider::non_empty::vec::NonEmptyVec::new”Function
Wraps inner, failing if it’s empty.
Errors
Section titled “Errors”Returns [EmptyError] if inner is empty.
fn new(inner: Vec<T>) -> Result<Self, EmptyError>