Enum contrafact::ContrafactError
source · pub enum ContrafactError {
Other(String),
}
Expand description
Errors caused by bugs in Facts, Generators, or contrafact itself
Variants§
Trait Implementations§
source§impl Clone for ContrafactError
impl Clone for ContrafactError
source§fn clone(&self) -> ContrafactError
fn clone(&self) -> ContrafactError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContrafactError
impl Debug for ContrafactError
source§impl From<ContrafactError> for MutationError
impl From<ContrafactError> for MutationError
source§fn from(original: ContrafactError) -> MutationError
fn from(original: ContrafactError) -> MutationError
Converts to this type from the input type.
source§impl From<String> for ContrafactError
impl From<String> for ContrafactError
source§fn from(original: String) -> ContrafactError
fn from(original: String) -> ContrafactError
Converts to this type from the input type.
source§impl PartialEq<ContrafactError> for ContrafactError
impl PartialEq<ContrafactError> for ContrafactError
source§fn eq(&self, other: &ContrafactError) -> bool
fn eq(&self, other: &ContrafactError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ContrafactError
impl StructuralEq for ContrafactError
impl StructuralPartialEq for ContrafactError
Auto Trait Implementations§
impl RefUnwindSafe for ContrafactError
impl Send for ContrafactError
impl Sync for ContrafactError
impl Unpin for ContrafactError
impl UnwindSafe for ContrafactError
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