Enum viceroy_lib::error::DownstreamRequestError
source · pub enum DownstreamRequestError {
InvalidHost,
InvalidUrl,
}
Expand description
Errors related to the downstream request.
Variants§
Trait Implementations§
source§impl Debug for DownstreamRequestError
impl Debug for DownstreamRequestError
source§impl Display for DownstreamRequestError
impl Display for DownstreamRequestError
source§impl Error for DownstreamRequestError
impl Error for DownstreamRequestError
1.30.0 · source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DownstreamRequestError> for Error
impl From<DownstreamRequestError> for Error
source§fn from(source: DownstreamRequestError) -> Self
fn from(source: DownstreamRequestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DownstreamRequestError
impl RefUnwindSafe for DownstreamRequestError
impl Send for DownstreamRequestError
impl Sync for DownstreamRequestError
impl Unpin for DownstreamRequestError
impl UnwindSafe for DownstreamRequestError
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
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more