pub struct ParseAuthRetryModeError(pub String);Expand description
Error returned when a string is not a recognized auth retry mode.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ParseAuthRetryModeError
impl Clone for ParseAuthRetryModeError
Source§fn clone(&self) -> ParseAuthRetryModeError
fn clone(&self) -> ParseAuthRetryModeError
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 ParseAuthRetryModeError
impl Debug for ParseAuthRetryModeError
Source§impl Display for ParseAuthRetryModeError
impl Display for ParseAuthRetryModeError
Source§impl Error for ParseAuthRetryModeError
impl Error for ParseAuthRetryModeError
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<ParseAuthRetryModeError> for CommandParseError
impl From<ParseAuthRetryModeError> for CommandParseError
Source§fn from(source: ParseAuthRetryModeError) -> Self
fn from(source: ParseAuthRetryModeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseAuthRetryModeError
impl PartialEq for ParseAuthRetryModeError
impl Eq for ParseAuthRetryModeError
impl StructuralPartialEq for ParseAuthRetryModeError
Auto Trait Implementations§
impl Freeze for ParseAuthRetryModeError
impl RefUnwindSafe for ParseAuthRetryModeError
impl Send for ParseAuthRetryModeError
impl Sync for ParseAuthRetryModeError
impl Unpin for ParseAuthRetryModeError
impl UnsafeUnpin for ParseAuthRetryModeError
impl UnwindSafe for ParseAuthRetryModeError
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