pub enum DiscoverSessionError<E>where
E: Debug,{
InvalidInput(Error),
ClientError(E),
MissingLocation,
InvalidLocation(InvalidUri),
BadStatus(StatusCode),
StreamingError(Error),
ResponseNotJson(Error),
}Expand description
Error returned by discover_session_resource.
Variants§
InvalidInput(Error)
ClientError(E)
MissingLocation
InvalidLocation(InvalidUri)
BadStatus(StatusCode)
StreamingError(Error)
ResponseNotJson(Error)
Trait Implementations§
Source§impl<E> Debug for DiscoverSessionError<E>
impl<E> Debug for DiscoverSessionError<E>
Source§impl<E> Display for DiscoverSessionError<E>where
E: Debug,
impl<E> Display for DiscoverSessionError<E>where
E: Debug,
Source§impl<E> Error for DiscoverSessionError<E>where
E: Debug,
impl<E> Error for DiscoverSessionError<E>where
E: Debug,
1.30.0 · 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()
Auto Trait Implementations§
impl<E> Freeze for DiscoverSessionError<E>where
E: Freeze,
impl<E> !RefUnwindSafe for DiscoverSessionError<E>
impl<E> Send for DiscoverSessionError<E>where
E: Send,
impl<E> Sync for DiscoverSessionError<E>where
E: Sync,
impl<E> Unpin for DiscoverSessionError<E>where
E: Unpin,
impl<E> !UnwindSafe for DiscoverSessionError<E>
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