Enum hvcg_student_openapi_application::client::ClientInitError [−][src]
pub enum ClientInitError { InvalidScheme, InvalidUri(InvalidUri), MissingHost, SslError(ErrorStack), }
Expand description
Error type failing to create a Client
Variants
Invalid URL Scheme
InvalidUri(InvalidUri)
Invalid URI
Missing Hostname
SslError(ErrorStack)
SSL Connection Error
Trait Implementations
impl Debug for ClientInitError
[src]
impl Debug for ClientInitError
[src]impl Display for ClientInitError
[src]
impl Display for ClientInitError
[src]impl Error for ClientInitError
[src]
impl Error for ClientInitError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
impl From<InvalidUri> for ClientInitError
[src]
impl From<InvalidUri> for ClientInitError
[src]fn from(err: InvalidUri) -> ClientInitError
[src]
fn from(err: InvalidUri) -> ClientInitError
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ClientInitError
impl Send for ClientInitError
impl Sync for ClientInitError
impl Unpin for ClientInitError
impl UnwindSafe for ClientInitError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ErrorBound for T where
T: Into<Box<dyn Error + 'static + Sync + Send, Global>>,
[src]
T: Into<Box<dyn Error + 'static + Sync + Send, Global>>,