pub type StringResult = AnyhowResult<String>;Aliased Type§
pub enum StringResult {
Ok(String),
Err(Error),
}Variants§
Trait Implementations§
Source§impl<'b> From<&DecodedData<'b>> for StringResult
impl decode data to string
impl<'b> From<&DecodedData<'b>> for StringResult
impl decode data to string
Source§fn from(value: &DecodedData<'b>) -> Self
fn from(value: &DecodedData<'b>) -> Self
Converts to this type from the input type.
Source§impl<'b> From<&EncodedData<'b>> for StringResult
impl<'b> From<&EncodedData<'b>> for StringResult
Source§fn from(value: &EncodedData<'b>) -> Self
fn from(value: &EncodedData<'b>) -> Self
Converts to this type from the input type.
Source§impl<'b> From<DecodedData<'b>> for StringResult
impl<'b> From<DecodedData<'b>> for StringResult
Source§fn from(value: DecodedData<'b>) -> Self
fn from(value: DecodedData<'b>) -> Self
Converts to this type from the input type.
Source§impl<'b> From<EncodedData<'b>> for StringResult
impl<'b> From<EncodedData<'b>> for StringResult
Source§fn from(value: EncodedData<'b>) -> Self
fn from(value: EncodedData<'b>) -> Self
Converts to this type from the input type.