Enum salak::PropertyError[][src]

pub enum PropertyError {
    NotFound(String),
    ParseFail(String),
    RecursiveParse(String),
    ReloadFail(String),
    RecursiveBuild(String),
}

Property Error

Variants

NotFound(String)

Property not found

ParseFail(String)

Property parse failed.

RecursiveParse(String)

Recursive parsing same key.

ReloadFail(String)

PropertySource reload failed.

RecursiveBuild(String)

Recursive build instance.

Implementations

impl PropertyError[src]

pub fn parse_failed(msg: &str) -> Self[src]

Generate parse fail error.

Trait Implementations

impl Debug for PropertyError[src]

impl Display for PropertyError[src]

impl Eq for PropertyError[src]

impl Error for PropertyError[src]

impl From<DatetimeParseError> for PropertyError[src]

This is supported on crate feature enable_toml only.

impl From<Error> for PropertyError[src]

impl From<Error> for PropertyError[src]

This is supported on crate feature enable_toml only.

impl From<Infallible> for PropertyError[src]

impl From<ParseBoolError> for PropertyError[src]

impl From<ParseFloatError> for PropertyError[src]

impl From<ParseIntError> for PropertyError[src]

impl From<ScanError> for PropertyError[src]

This is supported on crate feature enable_yaml only.

impl From<TryFromIntError> for PropertyError[src]

impl PartialEq<PropertyError> for PropertyError[src]

impl StructuralEq for PropertyError[src]

impl StructuralPartialEq for PropertyError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,