Struct None

pub struct None(/* private field */);

Error returned if the inner Service has not been set.

Trait Implementations

impl Debug for None

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

impl Display for None

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

impl Error for None

Auto Trait Implementations

impl Freeze for None

impl RefUnwindSafe for None

impl Send for None

impl Sync for None

impl Unpin for None

impl UnsafeUnpin for None

impl UnwindSafe for None

Blanket Implementations

impl<T> Any for None where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for None where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for None where T: ?Sized,

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

impl<T> From<T> for None

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for None

impl<T> ToString for None where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T> WithSubscriber for None

impl<T, U> Into<U> for None where U: From<T>,

fn into(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<U> for None where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for None where U: TryFrom<T>,

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