Enum matrix_appservice_rs::MxcConversionError [−][src]
pub enum MxcConversionError { InvalidMxc, UriParseError(InvalidUri), }
Expand description
An error from converting an MXC URI to a HTTP URL.
Variants
The given MXC URI is malformed.
UriParseError(InvalidUri)
There was an error parsing the resulting URL into an URI object.
Trait Implementations
impl Debug for MxcConversionError
[src]
impl Debug for MxcConversionError
[src]impl From<InvalidUri> for MxcConversionError
[src]
impl From<InvalidUri> for MxcConversionError
[src]fn from(err: InvalidUri) -> Self
[src]
fn from(err: InvalidUri) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MxcConversionError
impl Send for MxcConversionError
impl Sync for MxcConversionError
impl Unpin for MxcConversionError
impl UnwindSafe for MxcConversionError
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]