Trait choices::serde::ChoicesInput[][src]

pub trait ChoicesInput<'a> {
    fn from_chars(bytes: &'a Bytes) -> ChoicesResult<Self>
    where
        Self: Sized
; }

Trait to retrieve values from character sequences.

Required methods

fn from_chars(bytes: &'a Bytes) -> ChoicesResult<Self> where
    Self: Sized
[src]

Parses an instance of Self from a buffer of contiguous characters.

Returns an error if the operation failed.

Loading content...

Implementations on Foreign Types

impl ChoicesInput<'_> for bool[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for char[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for i128[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for i16[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for i32[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for i64[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for i8[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for u128[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for u16[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for u32[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for u64[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for u8[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for f32[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for f64[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for usize[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for isize[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl<'a> ChoicesInput<'a> for &'a str[src]

fn from_chars(bytes: &'a Bytes) -> ChoicesResult<Self>[src]

impl ChoicesInput<'_> for String[src]

fn from_chars(bytes: &Bytes) -> ChoicesResult<Self>[src]

impl<'a, T: Display + ChoicesInput<'a>> ChoicesInput<'a> for Option<T>[src]

fn from_chars(bytes: &'a Bytes) -> ChoicesResult<Self>[src]

Loading content...

Implementors

Loading content...