Struct SpawnReadyLayer

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

Spawns tasks to drive its inner service to readiness.

Implementations

impl SpawnReadyLayer

fn new() -> Self

Builds a SpawnReadyLayer.

Trait Implementations

impl Clone for SpawnReadyLayer

fn clone(&self) -> SpawnReadyLayer

impl Debug for SpawnReadyLayer

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

impl Default for SpawnReadyLayer

fn default() -> SpawnReadyLayer

impl<S> Layer<S> for SpawnReadyLayer

type Service = SpawnReady<S>;
fn layer(&self, service: S) -> Self::Service

Auto Trait Implementations

impl Freeze for SpawnReadyLayer

impl RefUnwindSafe for SpawnReadyLayer

impl Send for SpawnReadyLayer

impl Sync for SpawnReadyLayer

impl Unpin for SpawnReadyLayer

impl UnsafeUnpin for SpawnReadyLayer

impl UnwindSafe for SpawnReadyLayer

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> CloneToUninit for SpawnReadyLayer where T: Clone,

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

impl<T> From<T> for SpawnReadyLayer

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for SpawnReadyLayer

impl<T> ToOwned for SpawnReadyLayer where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> WithSubscriber for SpawnReadyLayer

impl<T, U> Into<U> for SpawnReadyLayer 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 SpawnReadyLayer where U: Into<T>,

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

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

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