# Trait actix_settings::Parse

source ·

    pub trait Parse: Sized {
        // Required method
        fn parse(string: &str) -> Result<Self, Error>;
    }

Expand description

A specialized `FromStr` trait that returns `Error` errors

## Required Methods§

source

#### fn parse(string: &str) -> Result<Self, Error>

Parse `Self` from `string`.

## Implementations on Foreign Types§

source§

### impl Parse for u16

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for i32

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for bool

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for i16

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for i64

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for Vec<Address>

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for u32

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for u128

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for u64

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for PathBuf

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for u8

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for i128

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for i8

source§

#### fn parse(string: &str) -> Result<Self, Error>

source§

### impl Parse for String

source§

#### fn parse(string: &str) -> Result<Self, Error>

## Implementors§

source§

### impl Parse for Backlog

source§

### impl Parse for KeepAlive

source§

### impl Parse for MaxConnectionRate

source§

### impl Parse for MaxConnections

source§

### impl Parse for Mode

source§

### impl Parse for NumWorkers

source§

### impl Parse for Timeout

source§

### impl Parse for Address