pub enum UriError<E> {
UrlParse(ParseError),
Other(E),
}
Expand description
Errors yielded by [MessageOptions.set_uri
] and [MessageOptions.get_uri
]
Variants§
UrlParse(ParseError)
Other(E)
Trait Implementations§
source§impl<E: PartialEq> PartialEq<UriError<E>> for UriError<E>
impl<E: PartialEq> PartialEq<UriError<E>> for UriError<E>
impl<E: Eq> Eq for UriError<E>
impl<E> StructuralEq for UriError<E>
impl<E> StructuralPartialEq for UriError<E>
Auto Trait Implementations§
impl<E> RefUnwindSafe for UriError<E>where E: RefUnwindSafe,
impl<E> Send for UriError<E>where E: Send,
impl<E> Sync for UriError<E>where E: Sync,
impl<E> Unpin for UriError<E>where E: Unpin,
impl<E> UnwindSafe for UriError<E>where E: UnwindSafe,
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