pub enum RiskSignalError {
UnsupportedVersion(u8),
EmptyReason,
ReasonTooLong {
len: usize,
max: usize,
},
EmptyAnchorFile,
InvalidLineRange(u32, u32),
EmptyProducerModule,
Encoding(String),
}Variants§
UnsupportedVersion(u8)
EmptyReason
ReasonTooLong
EmptyAnchorFile
InvalidLineRange(u32, u32)
EmptyProducerModule
Encoding(String)
Trait Implementations§
Source§impl Debug for RiskSignalError
impl Debug for RiskSignalError
Source§impl Display for RiskSignalError
impl Display for RiskSignalError
Source§impl Error for RiskSignalError
impl Error for RiskSignalError
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 RiskSignalError
impl RefUnwindSafe for RiskSignalError
impl Send for RiskSignalError
impl Sync for RiskSignalError
impl Unpin for RiskSignalError
impl UnsafeUnpin for RiskSignalError
impl UnwindSafe for RiskSignalError
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