pub struct RedirectDenied(/* private fields */);Expand description
A hop the guard refused. Transports return it unchanged as
HttpError::PermissionDenied so the guest sees the original denial.
Implementations§
Trait Implementations§
Source§impl Debug for RedirectDenied
impl Debug for RedirectDenied
Source§impl Display for RedirectDenied
impl Display for RedirectDenied
Source§impl Error for RedirectDenied
impl Error for RedirectDenied
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 Freeze for RedirectDenied
impl RefUnwindSafe for RedirectDenied
impl Send for RedirectDenied
impl Sync for RedirectDenied
impl Unpin for RedirectDenied
impl UnsafeUnpin for RedirectDenied
impl UnwindSafe for RedirectDenied
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