Struct MethodFilter

struct MethodFilter(_)

A filter that matches one or more HTTP methods.

Implementations

impl MethodFilter

const fn or(self: Self, other: Self) -> Self

Performs the OR operation between the MethodFilter in self with other.

impl Clone for MethodFilter

fn clone(self: &Self) -> MethodFilter

impl Copy for MethodFilter

impl Debug for MethodFilter

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for MethodFilter

impl PartialEq for MethodFilter

fn eq(self: &Self, other: &MethodFilter) -> bool

impl RefUnwindSafe for MethodFilter

impl Send for MethodFilter

impl StructuralPartialEq for MethodFilter

impl Sync for MethodFilter

impl TryFrom for MethodFilter

fn try_from(m: Method) -> Result<Self, NoMatchingMethodFilter>

impl Unpin for MethodFilter

impl UnsafeUnpin for MethodFilter

impl UnwindSafe for MethodFilter

impl<T> Any for MethodFilter

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for MethodFilter

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for MethodFilter

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for MethodFilter

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for MethodFilter

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FromRef for MethodFilter

fn from_ref(input: &T) -> T

impl<T> Instrument for MethodFilter

impl<T> Same for MethodFilter

impl<T> ToOwned for MethodFilter

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> WithSubscriber for MethodFilter

impl<T, U> Into for MethodFilter

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for MethodFilter

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for MethodFilter

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for MethodFilter

fn vzip(self: Self) -> V