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

# [−] Trait actix_web::actix::actix::dev::Message

    pub trait Message {
        type Result: 'static;
    }

Message type

## Associated Types

### `type Result: 'static`

The type of value that this message will resolved with if it is successful.

## Implementors

###

`impl Message for SignalType`

#### `type Result = ()`

###

`impl Message for Message`

[src]

#### `type Result = ()`

###

`impl Message for actix_web::actix::actix::dev::actors::resolver::Connect`

#### `type Result = Result<TcpStream, ResolverError>`

###

`impl Message for ConnectAddr`

#### `type Result = Result<TcpStream, ResolverError>`

###

`impl Message for Resolve`

#### `type Result = Result<VecDeque<SocketAddr>, ResolverError>`

###

`impl Message for Signal`

#### `type Result = ()`

###

`impl Message for Subscribe`

#### `type Result = ()`

###

`impl Message for StopArbiter`

#### `type Result = ()`

###

`impl Message for ClientConnectorStats`

[src]

#### `type Result = ()`

###

`impl Message for actix_web::client::Connect`

[src]

#### `type Result = Result<Connection, ClientConnectorError>`

###

`impl Message for Pause`

[src]

#### `type Result = ()`

###

`impl Message for Resume`

[src]

#### `type Result = ()`

###

`impl Message for PauseServer`

#### `type Result = ()`

###

`impl Message for ResumeServer`

#### `type Result = ()`

###

`impl Message for StopServer`

#### `type Result = Result<(), ()>`

###

`impl<A> Message for StartActor<A> where A: Actor,`

#### `type Result = Addr<A>`

###

`impl<I, E> Message for Execute<I, E> where E: Send, I: Send,`

Execute message response

#### `type Result = Result<I, E>`

# 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`)