Enum matrix_sdk::ClientBuildError
source · [−]pub enum ClientBuildError {
MissingHomeserver,
AutoDiscovery(FromHttpResponseError<RumaApiError>),
Url(ParseError),
Http(HttpError),
SledStore(OpenStoreError),
}Expand description
Errors that can happen in ClientBuilder::build.
Variants
MissingHomeserver
No homeserver or user ID was configured
AutoDiscovery(FromHttpResponseError<RumaApiError>)
Error looking up the .well-known endpoint on auto-discovery
Url(ParseError)
An error encountered when trying to parse the homeserver url.
Http(HttpError)
Error doing an HTTP request.
SledStore(OpenStoreError)
Available on crate feature
sled only.Error opening the sled store.
Trait Implementations
sourceimpl Debug for ClientBuildError
impl Debug for ClientBuildError
sourceimpl Display for ClientBuildError
impl Display for ClientBuildError
sourceimpl Error for ClientBuildError
impl Error for ClientBuildError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<HttpError> for ClientBuildError
impl From<HttpError> for ClientBuildError
sourceimpl From<OpenStoreError> for ClientBuildError
impl From<OpenStoreError> for ClientBuildError
sourcefn from(source: OpenStoreError) -> Self
fn from(source: OpenStoreError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for ClientBuildError
impl From<ParseError> for ClientBuildError
sourcefn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ClientBuildError
impl Send for ClientBuildError
impl Sync for ClientBuildError
impl Unpin for ClientBuildError
impl !UnwindSafe for ClientBuildError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more