Trait coord::session::vars::Value[][src]

pub trait Value: ToOwned + Send + Sync {
    const TYPE_NAME: &'static str;

    fn parse(s: &str) -> Result<Self::Owned, ()>;
fn format(&self) -> String; }
Expand description

A value that can be stored in a session variable.

Associated Constants

The name of the value type.

Required methods

Parses a value of this type from a string.

Formats this value as a string.

Implementations on Foreign Types

Implementors