pub struct UnknownVotingMethodError(/* private fields */);Expand description
Error returned when an unknown voting method string is encountered.
Trait Implementations§
Source§impl Clone for UnknownVotingMethodError
impl Clone for UnknownVotingMethodError
Source§fn clone(&self) -> UnknownVotingMethodError
fn clone(&self) -> UnknownVotingMethodError
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 UnknownVotingMethodError
impl Debug for UnknownVotingMethodError
Source§impl Display for UnknownVotingMethodError
impl Display for UnknownVotingMethodError
Source§impl Error for UnknownVotingMethodError
impl Error for UnknownVotingMethodError
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 PartialEq for UnknownVotingMethodError
impl PartialEq for UnknownVotingMethodError
impl Eq for UnknownVotingMethodError
impl StructuralPartialEq for UnknownVotingMethodError
Auto Trait Implementations§
impl Freeze for UnknownVotingMethodError
impl RefUnwindSafe for UnknownVotingMethodError
impl Send for UnknownVotingMethodError
impl Sync for UnknownVotingMethodError
impl Unpin for UnknownVotingMethodError
impl UnsafeUnpin for UnknownVotingMethodError
impl UnwindSafe for UnknownVotingMethodError
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