# Trait rlp::rlptraits::Decodable [−] [src]

    pub trait Decodable: Sized {
        fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder;
    }

RLP decodable trait

## Required Methods

### `fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder`

Decode a value from RLP bytes

## Implementors

- `impl<T> Decodable for T where T: FromBytes`
- `impl<T> Decodable for Vec<T> where T: Decodable`
- `impl<T> Decodable for Option<T> where T: Decodable`
- `impl Decodable for Vec<u8>`
- `impl<T> Decodable for [T; 0] where T: Decodable`
- `impl<T> Decodable for [T; 1] where T: Decodable`
- `impl<T> Decodable for [T; 2] where T: Decodable`
- `impl<T> Decodable for [T; 3] where T: Decodable`
- `impl<T> Decodable for [T; 4] where T: Decodable`
- `impl<T> Decodable for [T; 5] where T: Decodable`
- `impl<T> Decodable for [T; 6] where T: Decodable`
- `impl<T> Decodable for [T; 7] where T: Decodable`
- `impl<T> Decodable for [T; 8] where T: Decodable`
- `impl<T> Decodable for [T; 9] where T: Decodable`
- `impl<T> Decodable for [T; 10] where T: Decodable`
- `impl<T> Decodable for [T; 11] where T: Decodable`
- `impl<T> Decodable for [T; 12] where T: Decodable`
- `impl<T> Decodable for [T; 13] where T: Decodable`
- `impl<T> Decodable for [T; 14] where T: Decodable`
- `impl<T> Decodable for [T; 15] where T: Decodable`
- `impl<T> Decodable for [T; 16] where T: Decodable`
- `impl<T> Decodable for [T; 17] where T: Decodable`
- `impl<T> Decodable for [T; 18] where T: Decodable`
- `impl<T> Decodable for [T; 19] where T: Decodable`
- `impl<T> Decodable for [T; 20] where T: Decodable`
- `impl<T> Decodable for [T; 21] where T: Decodable`
- `impl<T> Decodable for [T; 22] where T: Decodable`
- `impl<T> Decodable for [T; 23] where T: Decodable`
- `impl<T> Decodable for [T; 24] where T: Decodable`
- `impl<T> Decodable for [T; 25] where T: Decodable`
- `impl<T> Decodable for [T; 26] where T: Decodable`
- `impl<T> Decodable for [T; 27] where T: Decodable`
- `impl<T> Decodable for [T; 28] where T: Decodable`
- `impl<T> Decodable for [T; 29] where T: Decodable`
- `impl<T> Decodable for [T; 30] where T: Decodable`
- `impl<T> Decodable for [T; 31] where T: Decodable`
- `impl<T> Decodable for [T; 32] where T: Decodable`
- `impl<T> Decodable for [T; 40] where T: Decodable`
- `impl<T> Decodable for [T; 48] where T: Decodable`
- `impl<T> Decodable for [T; 56] where T: Decodable`
- `impl<T> Decodable for [T; 64] where T: Decodable`
- `impl<T> Decodable for [T; 72] where T: Decodable`
- `impl<T> Decodable for [T; 96] where T: Decodable`
- `impl<T> Decodable for [T; 128] where T: Decodable`
- `impl<T> Decodable for [T; 160] where T: Decodable`
- `impl<T> Decodable for [T; 192] where T: Decodable`
- `impl<T> Decodable for [T; 224] where T: Decodable`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand 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`)