pub enum SetPathError {
InsertNotFound(InsertNotFound),
RangeNotFound(RangeNotFound),
CantBeEmpty(CantBeEmpty),
PathIsOpaque(PathIsOpaque),
TooLong(TooLong),
}Expand description
Returned when failing to set some/all of a path.
Variants§
InsertNotFound(InsertNotFound)
RangeNotFound(RangeNotFound)
CantBeEmpty(CantBeEmpty)
PathIsOpaque(PathIsOpaque)
TooLong(TooLong)
Trait Implementations§
Source§impl Debug for SetPathError
impl Debug for SetPathError
Source§impl Display for SetPathError
impl Display for SetPathError
Source§impl Error for SetPathError
impl Error for SetPathError
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 From<!> for SetPathError
impl From<!> for SetPathError
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<CantBeEmpty> for SetPathError
impl From<CantBeEmpty> for SetPathError
Source§fn from(source: CantBeEmpty) -> Self
fn from(source: CantBeEmpty) -> Self
Converts to this type from the input type.
Source§impl From<InsertNotFound> for SetPathError
impl From<InsertNotFound> for SetPathError
Source§fn from(source: InsertNotFound) -> Self
fn from(source: InsertNotFound) -> Self
Converts to this type from the input type.
Source§impl From<PathIsOpaque> for SetPathError
impl From<PathIsOpaque> for SetPathError
Source§fn from(source: PathIsOpaque) -> Self
fn from(source: PathIsOpaque) -> Self
Converts to this type from the input type.
Source§impl From<RangeNotFound> for SetPathError
impl From<RangeNotFound> for SetPathError
Source§fn from(source: RangeNotFound) -> Self
fn from(source: RangeNotFound) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SetPathError
impl RefUnwindSafe for SetPathError
impl Send for SetPathError
impl Sync for SetPathError
impl Unpin for SetPathError
impl UnsafeUnpin for SetPathError
impl UnwindSafe for SetPathError
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