pub enum TopicManagerError {
InvalidBeef(String),
NoAdmissibleOutputs(String),
InvalidScript(String),
SignatureError(String),
Other(String),
}Expand description
Errors from TopicManager operations.
Variants§
InvalidBeef(String)
The transaction BEEF could not be parsed.
NoAdmissibleOutputs(String)
The transaction has no admissible outputs for this topic.
InvalidScript(String)
A script in the transaction is malformed.
SignatureError(String)
Signature verification failed.
Other(String)
Generic error.
Trait Implementations§
Source§impl Debug for TopicManagerError
impl Debug for TopicManagerError
Source§impl Display for TopicManagerError
impl Display for TopicManagerError
Source§impl Error for TopicManagerError
impl Error for TopicManagerError
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()
Source§impl From<TopicManagerError> for EngineError
impl From<TopicManagerError> for EngineError
Source§fn from(e: TopicManagerError) -> Self
fn from(e: TopicManagerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopicManagerError
impl RefUnwindSafe for TopicManagerError
impl Send for TopicManagerError
impl Sync for TopicManagerError
impl Unpin for TopicManagerError
impl UnsafeUnpin for TopicManagerError
impl UnwindSafe for TopicManagerError
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