Struct Action
pub struct Action { /* private fields */ }
An action to perform when a redirect status code is found.
Trait Implementations
impl Debug for Action
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl !RefUnwindSafe for Action
impl !UnwindSafe for Action
impl Freeze for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
Blanket Implementations
impl<T> Any for Action
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Action
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Action
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Action
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for Action
impl<T> PolicyExt for Action
where
T: ?Sized,
fn and<P, B, E>(self, other: P) -> And<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,fn or<P, B, E>(self, other: P) -> Or<T, P> where T: Sized + Policy<B, E>, P: Policy<B, E>,
impl<T> WithSubscriber for Action
impl<T, U> Into<U> for Action
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Action
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Action
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>