pub enum NativeHistoryConfigError {
RootMustBeAbsolute,
UnsupportedAdapter(AdapterId),
UnsupportedAdapterValue(String),
UnsupportedLayout {
adapter_id: AdapterId,
layout: HistorySourceLayout,
},
TooManyRoots,
DuplicateRoot,
InvalidLimit(&'static str),
}Variants§
RootMustBeAbsolute
UnsupportedAdapter(AdapterId)
UnsupportedAdapterValue(String)
UnsupportedLayout
TooManyRoots
DuplicateRoot
InvalidLimit(&'static str)
Trait Implementations§
Source§impl Clone for NativeHistoryConfigError
impl Clone for NativeHistoryConfigError
Source§impl Debug for NativeHistoryConfigError
impl Debug for NativeHistoryConfigError
Source§impl Display for NativeHistoryConfigError
impl Display for NativeHistoryConfigError
impl Eq for NativeHistoryConfigError
Source§impl Error for NativeHistoryConfigError
impl Error for NativeHistoryConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NativeHistoryConfigError
impl PartialEq for NativeHistoryConfigError
impl StructuralPartialEq for NativeHistoryConfigError
Auto Trait Implementations§
impl Freeze for NativeHistoryConfigError
impl RefUnwindSafe for NativeHistoryConfigError
impl Send for NativeHistoryConfigError
impl Sync for NativeHistoryConfigError
impl Unpin for NativeHistoryConfigError
impl UnsafeUnpin for NativeHistoryConfigError
impl UnwindSafe for NativeHistoryConfigError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more