pub enum BaconError {
GeneralError(String),
CodecError(String),
SteganographerError(String),
}
Variants§
Trait Implementations§
Source§impl Clone for BaconError
impl Clone for BaconError
Source§fn clone(&self) -> BaconError
fn clone(&self) -> BaconError
Returns a duplicate 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 BaconError
impl Debug for BaconError
Source§impl Display for BaconError
impl Display for BaconError
Source§impl Error for BaconError
impl Error for BaconError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl PartialEq for BaconError
impl PartialEq for BaconError
impl Eq for BaconError
impl StructuralPartialEq for BaconError
Auto Trait Implementations§
impl Freeze for BaconError
impl RefUnwindSafe for BaconError
impl Send for BaconError
impl Sync for BaconError
impl Unpin for BaconError
impl UnwindSafe for BaconError
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