Enum salak::PropertyError [−][src]
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]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<DatetimeParseError> for PropertyError
[src]
This is supported on crate feature
enable_toml
only.fn from(err: DatetimeParseError) -> Self
[src]
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]
fn from(e: Infallible) -> Self
[src]
impl From<ParseBoolError> for PropertyError
[src]
fn from(e: ParseBoolError) -> Self
[src]
impl From<ParseFloatError> for PropertyError
[src]
fn from(e: ParseFloatError) -> Self
[src]
impl From<ParseIntError> for PropertyError
[src]
fn from(e: ParseIntError) -> Self
[src]
impl From<ScanError> for PropertyError
[src]
This is supported on crate feature
enable_yaml
only.impl From<TryFromIntError> for PropertyError
[src]
fn from(e: TryFromIntError) -> Self
[src]
impl PartialEq<PropertyError> for PropertyError
[src]
fn eq(&self, other: &PropertyError) -> bool
[src]
fn ne(&self, other: &PropertyError) -> bool
[src]
impl StructuralEq for PropertyError
[src]
impl StructuralPartialEq for PropertyError
[src]
Auto Trait Implementations
impl RefUnwindSafe for PropertyError
impl Send for PropertyError
impl Sync for PropertyError
impl Unpin for PropertyError
impl UnwindSafe for PropertyError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,