Struct NoCallback

struct NoCallback

Stub for callback that does nothing.

Implementations

impl Callback for NoCallback

fn on_request(self: Self, _request: &Request, response: Response) -> StdResult<Response, ErrorResponse>

impl Clone for NoCallback

fn clone(self: &Self) -> NoCallback

impl Copy for NoCallback

impl Debug for NoCallback

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

impl Freeze for NoCallback

impl RefUnwindSafe for NoCallback

impl Send for NoCallback

impl Sync for NoCallback

impl Unpin for NoCallback

impl UnsafeUnpin for NoCallback

impl UnwindSafe for NoCallback

impl<T> Any for NoCallback

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NoCallback

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

impl<T> BorrowMut for NoCallback

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

impl<T> CloneToUninit for NoCallback

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

impl<T> From for NoCallback

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for NoCallback

impl<T> ToOwned for NoCallback

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

impl<T, U> Into for NoCallback

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 NoCallback

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

impl<T, U> TryInto for NoCallback

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

impl<V, T> VZip for NoCallback

fn vzip(self: Self) -> V