pub struct NopInput {}
Expand description
An input for tests, mainly. There is no real use much else.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for NopInput
impl<'de> Deserialize<'de> for NopInput
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl HasTargetBytes for NopInput
impl HasTargetBytes for NopInput
sourcefn target_bytes(&self) -> OwnedSlice<'_, u8>
fn target_bytes(&self) -> OwnedSlice<'_, u8>
Target bytes, that can be written to a target
sourceimpl Input for NopInput
impl Input for NopInput
sourcefn generate_name(&self, _idx: usize) -> String
fn generate_name(&self, _idx: usize) -> String
Generate a name for this input
sourcefn to_file<P>(&self, path: P) -> Result<(), Error> where
P: AsRef<Path>,
fn to_file<P>(&self, path: P) -> Result<(), Error> where
P: AsRef<Path>,
Write this input to the file
sourcefn from_file<P>(path: P) -> Result<Self, Error> where
P: AsRef<Path>,
fn from_file<P>(path: P) -> Result<Self, Error> where
P: AsRef<Path>,
Load the content of this input from a file
sourcefn wrapped_as_testcase(&mut self)
fn wrapped_as_testcase(&mut self)
An hook executed if the input is stored as Testcase
impl Copy for NopInput
Auto Trait Implementations
impl RefUnwindSafe for NopInput
impl Send for NopInput
impl Sync for NopInput
impl Unpin for NopInput
impl UnwindSafe for NopInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.