Trait FutureExt
pub trait FutureExt {
// Provided method
fn with_personality(self, personality: u16) -> WithPersonality<Self> ⓘ
where Self: Sized { ... }
}Available on crate features
runtime and future-combinator only.Expand description
Extension trait for futures.
Provided Methods§
fn with_personality(self, personality: u16) -> WithPersonality<Self> ⓘwhere
Self: Sized,
fn with_personality(self, personality: u16) -> WithPersonality<Self> ⓘwhere
Self: Sized,
Sets the personality for this future.