Struct CloneBodyFn
struct CloneBodyFn<F> { ... }
A redirection Policy created from a closure.
See clone_body_fn for more details.
Implementations
impl<F> Debug for CloneBodyFn<F>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<F> Freeze for CloneBodyFn<F>
impl<F> RefUnwindSafe for CloneBodyFn<F>
impl<F> Send for CloneBodyFn<F>
impl<F> Sync for CloneBodyFn<F>
impl<F> Unpin for CloneBodyFn<F>
impl<F> UnsafeUnpin for CloneBodyFn<F>
impl<F> UnwindSafe for CloneBodyFn<F>
impl<F, B, E> Policy for CloneBodyFn<F>
fn redirect(self: &mut Self, _: &Attempt<'_>) -> Result<Action, E>fn clone_body(self: &Self, body: &B) -> Option<B>
impl<F: $crate::clone::Clone> Clone for CloneBodyFn<F>
fn clone(self: &Self) -> CloneBodyFn<F>
impl<F: $crate::marker::Copy> Copy for CloneBodyFn<F>
impl<T> Any for CloneBodyFn<F>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CloneBodyFn<F>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CloneBodyFn<F>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for CloneBodyFn<F>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for CloneBodyFn<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Instrument for CloneBodyFn<F>
impl<T> PolicyExt for CloneBodyFn<F>
fn and<P, B, E>(self: Self, other: P) -> And<T, P> where T: Policy<B, E>, P: Policy<B, E>fn or<P, B, E>(self: Self, other: P) -> Or<T, P> where T: Policy<B, E>, P: Policy<B, E>
impl<T> ToOwned for CloneBodyFn<F>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> WithSubscriber for CloneBodyFn<F>
impl<T, U> Into for CloneBodyFn<F>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CloneBodyFn<F>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CloneBodyFn<F>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>