[−][src]Struct juggle::SpawnParams
Parameters used when spawning task inside scheduler.
Default parameters will spawn runnable unnamed task.
Implementations
impl SpawnParams
[src]
pub fn suspend(self, value: bool) -> Self
[src]
Set suspended property.
pub fn name(self, name: &'static str) -> Self
[src]
Set name property to static string slice.
pub fn dyn_name(self, name: impl Into<String>) -> Self
[src]
Set name property to dynamically allocated string.
pub fn named(name: &'static str) -> Self
[src]
Create default parameters (suspended property set to false) with name property set to static string slice.
pub fn dyn_named(name: impl Into<String>) -> Self
[src]
Create default parameters (suspended property set to false) with name property set to dynamically allocated string.
pub fn suspended(value: bool) -> Self
[src]
Create default parameters (name property set to none) with suspended property set to given value.
Trait Implementations
impl Clone for SpawnParams
[src]
fn clone(&self) -> SpawnParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpawnParams
[src]
impl Default for SpawnParams
[src]
impl Eq for SpawnParams
[src]
impl From<&'static str> for SpawnParams
[src]
impl From<String> for SpawnParams
[src]
impl From<bool> for SpawnParams
[src]
impl Hash for SpawnParams
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SpawnParams> for SpawnParams
[src]
fn eq(&self, other: &SpawnParams) -> bool
[src]
fn ne(&self, other: &SpawnParams) -> bool
[src]
impl StructuralEq for SpawnParams
[src]
impl StructuralPartialEq for SpawnParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpawnParams
impl Send for SpawnParams
impl Sync for SpawnParams
impl Unpin for SpawnParams
impl UnwindSafe for SpawnParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,