Struct tsukuyomi::modifier::BeforeHandle [−][src]
pub struct BeforeHandle(_);
Methods
impl BeforeHandle
[src]
impl BeforeHandle
pub fn immediate(res: Result<Context, (Context, Error)>) -> BeforeHandle
[src]
pub fn immediate(res: Result<Context, (Context, Error)>) -> BeforeHandle
pub fn boxed<F>(future: F) -> BeforeHandle where
F: Future<Item = Context, Error = (Context, Error)> + Send + 'static,
[src]
pub fn boxed<F>(future: F) -> BeforeHandle where
F: Future<Item = Context, Error = (Context, Error)> + Send + 'static,
pub fn poll_ready(&mut self) -> Poll<Result<Context, (Context, Error)>>
[src]
pub fn poll_ready(&mut self) -> Poll<Result<Context, (Context, Error)>>
Trait Implementations
impl Debug for BeforeHandle
[src]
impl Debug for BeforeHandle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<F> From<F> for BeforeHandle where
F: Future<Item = Context, Error = (Context, Error)> + Send + 'static,
[src]
impl<F> From<F> for BeforeHandle where
F: Future<Item = Context, Error = (Context, Error)> + Send + 'static,
fn from(future: F) -> BeforeHandle
[src]
fn from(future: F) -> BeforeHandle
Performs the conversion.
Auto Trait Implementations
impl Send for BeforeHandle
impl Send for BeforeHandle
impl !Sync for BeforeHandle
impl !Sync for BeforeHandle