pub enum SaplingError {
Bech32Decode(String),
Bech32Encode(String),
UnknownHrp(String),
PayloadLength(usize),
HrpParse(String),
}Variants§
Trait Implementations§
Source§impl Debug for SaplingError
impl Debug for SaplingError
Source§impl Display for SaplingError
impl Display for SaplingError
Source§impl Error for SaplingError
impl Error for SaplingError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SaplingError
impl RefUnwindSafe for SaplingError
impl Send for SaplingError
impl Sync for SaplingError
impl Unpin for SaplingError
impl UnsafeUnpin for SaplingError
impl UnwindSafe for SaplingError
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