Skip to main content

Text

Type Alias Text 

Source
pub type Text = Result<String, Error>;
Expand description

A representation of a value which can be stored and restored as a text.

Aliased Type§

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

Variants§

§1.0.0

Ok(String)

Contains the success value

§1.0.0

Err(Error)

Contains the error value