pub enum BuildResourceError {
ParseError(ParseError),
SetPortError,
SetPasswordError,
SetUsernameError,
}Expand description
Errors that can occur when building the signature authorization resource for connection.
Variants§
ParseError(ParseError)
Unable to parse the URL for builder.
SetPortError
Unable to set port to None
SetPasswordError
Unable to set password to None
SetUsernameError
Unable to set username to empty string
Trait Implementations§
source§impl Debug for BuildResourceError
impl Debug for BuildResourceError
source§impl Display for BuildResourceError
impl Display for BuildResourceError
source§impl Error for BuildResourceError
impl Error for BuildResourceError
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 From<ParseError> for BuildResourceError
impl From<ParseError> for BuildResourceError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BuildResourceError
impl Send for BuildResourceError
impl Sync for BuildResourceError
impl Unpin for BuildResourceError
impl UnwindSafe for BuildResourceError
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