pub enum MsgraphClientStdError {
Send(MsgraphSendError),
Io(Error),
Tls(Error),
UrlMissingHost(String),
UrlUnsupportedScheme {
url: String,
scheme: String,
},
}Available on crate feature
client only.Expand description
Error returned by MsgraphClientStd operations.
Variants§
Send(MsgraphSendError)
A coroutine completed with an error.
Io(Error)
Reading from or writing to the stream failed.
Tls(Error)
Available on crate features
native-tls or rustls-aws or rustls-ring only.Opening the TCP/TLS connection failed.
UrlMissingHost(String)
Available on crate features
native-tls or rustls-aws or rustls-ring only.The API base URL has no host to connect to.
UrlUnsupportedScheme
Available on crate features
native-tls or rustls-aws or rustls-ring only.The API base URL scheme is neither http nor https.
Trait Implementations§
Source§impl Debug for MsgraphClientStdError
impl Debug for MsgraphClientStdError
Source§impl Display for MsgraphClientStdError
impl Display for MsgraphClientStdError
Source§impl Error for MsgraphClientStdError
impl Error for MsgraphClientStdError
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<Error> for MsgraphClientStdError
impl From<Error> for MsgraphClientStdError
Source§impl From<Error> for MsgraphClientStdError
impl From<Error> for MsgraphClientStdError
Source§impl From<MsgraphSendError> for MsgraphClientStdError
impl From<MsgraphSendError> for MsgraphClientStdError
Source§fn from(source: MsgraphSendError) -> Self
fn from(source: MsgraphSendError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MsgraphClientStdError
impl !UnwindSafe for MsgraphClientStdError
impl Freeze for MsgraphClientStdError
impl Send for MsgraphClientStdError
impl Sync for MsgraphClientStdError
impl Unpin for MsgraphClientStdError
impl UnsafeUnpin for MsgraphClientStdError
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