StringResult

Type Alias StringResult 

Source
pub type StringResult = AnyhowResult<String>;

Aliased Type§

pub enum StringResult {
    Ok(String),
    Err(Error),
}

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<'b> From<&DecodedData<'b>> for StringResult

impl decode data to string

Source§

fn from(value: &DecodedData<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<&EncodedData<'b>> for StringResult

Source§

fn from(value: &EncodedData<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<DecodedData<'b>> for StringResult

Source§

fn from(value: DecodedData<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<EncodedData<'b>> for StringResult

Source§

fn from(value: EncodedData<'b>) -> Self

Converts to this type from the input type.