pub struct VecCorpus { /* private fields */ }Expand description
An in-memory corpus.
Implementations§
Trait Implementations§
Source§impl CorpusSource for VecCorpus
impl CorpusSource for VecCorpus
Source§fn next_record(&mut self) -> Result<Option<CanonicalInput>, KuteError>
fn next_record(&mut self) -> Result<Option<CanonicalInput>, KuteError>
The next record, or
None when the corpus is exhausted.Auto Trait Implementations§
impl Forget for VecCorpus
impl Freeze for VecCorpus
impl Move for VecCorpus
impl RefUnwindSafe for VecCorpus
impl Send for VecCorpus
impl Sync for VecCorpus
impl Unpin for VecCorpus
impl UnsafeUnpin for VecCorpus
impl UnwindSafe for VecCorpus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more