pub trait LoadableValue {
    // Required method
    fn from_persistable_string(s: &str) -> Self;
}
Expand description

A value that can be converted from the String to its actual type.

Sometimes it’s enough to parse the value, sometimes it needs custom conversions.

Required Methods§

Implementations on Foreign Types§

source§

impl LoadableValue for i128

source§

impl LoadableValue for i64

source§

impl LoadableValue for i8

source§

impl LoadableValue for f32

source§

impl LoadableValue for i16

source§

impl LoadableValue for isize

source§

impl LoadableValue for String

source§

impl LoadableValue for f64

source§

impl LoadableValue for u16

source§

impl LoadableValue for u64

source§

impl LoadableValue for usize

source§

impl LoadableValue for i32

source§

impl LoadableValue for u128

source§

impl LoadableValue for u32

source§

impl<A: LoadableValue> LoadableValue for Option<A>

source§

impl LoadableValue for bool

source§

impl LoadableValue for u8

Implementors§