pub struct EditionError(/* private fields */);Expand description
Error raised when edition declarations are inconsistent.
Implementations§
Trait Implementations§
Source§impl Debug for EditionError
impl Debug for EditionError
Source§impl Display for EditionError
impl Display for EditionError
Source§impl Error for EditionError
impl Error for EditionError
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()
Auto Trait Implementations§
impl Freeze for EditionError
impl RefUnwindSafe for EditionError
impl Send for EditionError
impl Sync for EditionError
impl Unpin for EditionError
impl UnsafeUnpin for EditionError
impl UnwindSafe for EditionError
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