Struct LocalSpawner
pub struct LocalSpawner { /* private fields */ }
Trait Implementations
impl Clone for LocalSpawner
fn clone(&self) -> LocalSpawner
impl Debug for LocalSpawner
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl LocalSpawn for LocalSpawner
fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>fn status_local(&self) -> Result<(), SpawnError>
impl Spawn for LocalSpawner
fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>fn status(&self) -> Result<(), SpawnError>
Auto Trait Implementations
impl !RefUnwindSafe for LocalSpawner
impl !Send for LocalSpawner
impl !Sync for LocalSpawner
impl !UnwindSafe for LocalSpawner
impl Freeze for LocalSpawner
impl Unpin for LocalSpawner
impl UnsafeUnpin for LocalSpawner
Blanket Implementations
impl<Sp> LocalSpawnExt for LocalSpawner
where
Sp: LocalSpawn + ?Sized,
impl<Sp> SpawnExt for LocalSpawner
where
Sp: Spawn + ?Sized,
impl<T> Any for LocalSpawner
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LocalSpawner
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LocalSpawner
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LocalSpawner
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LocalSpawner
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for LocalSpawner
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for LocalSpawner
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LocalSpawner
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LocalSpawner
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>