# actix_web::actix::actix::dev::ContextFut - Rust
API documentation for the Rust `ContextFut` struct in crate `actix_web`.
Keywords: rust, rustlang, rust-lang, ContextFut

# Struct actix_web::actix::actix::dev::ContextFut [−]

    pub struct ContextFut<A, C> where
        A: Actor<Context = C>,
        C: AsyncContextParts<A>,  { /* fields omitted */ }

## Methods

###

`impl<A, C> ContextFut<A, C> where A: Actor<Context = C>, C: AsyncContextParts<A>,`

####

`pub fn new(ctx: C, act: A, mailbox: Mailbox<A>) -> ContextFut<A, C>` |

####
ⓘImportant traits for &'a mut R

### Important traits for &'a mut R

`impl<'a, R> Read for &'a mut R where
R: Read + ?Sized, impl<'a, W> Write for &'a mut W where
W: Write + ?Sized, impl<'a, I> Iterator for &'a mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;`

`pub fn ctx(&mut self) -> &mut C` |

####

`pub fn address(&self) -> Addr<A>` |

####

`pub fn alive(&mut self) -> bool` |

## Auto Trait Implementations

###

`impl<A, C> !Send for ContextFut<A, C>`

###

`impl<A, C> !Sync for ContextFut<A, C>`

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g. `str,u8` or `String,struct:Vec,test`)