pub enum ControllerError {
UnknownWallet {
alias: String,
},
UnknownStakePool {
alias: String,
},
UnknownVotePlan {
alias: String,
},
UnknownVoteProposal {
id: ExternalProposalId,
},
}
Variants§
Trait Implementations§
source§impl Clone for ControllerError
impl Clone for ControllerError
source§fn clone(&self) -> ControllerError
fn clone(&self) -> ControllerError
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 ControllerError
impl Debug for ControllerError
source§impl Display for ControllerError
impl Display for ControllerError
source§impl Error for ControllerError
impl Error for ControllerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<ControllerError> for ControllerError
impl PartialEq<ControllerError> for ControllerError
source§fn eq(&self, other: &ControllerError) -> bool
fn eq(&self, other: &ControllerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ControllerError
impl StructuralEq for ControllerError
impl StructuralPartialEq for ControllerError
Auto Trait Implementations§
impl RefUnwindSafe for ControllerError
impl Send for ControllerError
impl Sync for ControllerError
impl Unpin for ControllerError
impl UnwindSafe for ControllerError
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