pub struct ParseWorkError(/* private fields */);Expand description
Error returned when parsing a Work from a string.
Trait Implementations§
Source§impl Clone for ParseWorkError
impl Clone for ParseWorkError
Source§fn clone(&self) -> ParseWorkError
fn clone(&self) -> ParseWorkError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParseWorkError
impl Debug for ParseWorkError
Source§impl Display for ParseWorkError
impl Display for ParseWorkError
Source§impl Error for ParseWorkError
Available on crate feature std only.
impl Error for ParseWorkError
Available on crate feature
std only.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<Infallible> for ParseWorkError
impl From<Infallible> for ParseWorkError
Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseWorkError
impl PartialEq for ParseWorkError
Source§fn eq(&self, other: &ParseWorkError) -> bool
fn eq(&self, other: &ParseWorkError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ParseWorkError
impl StructuralPartialEq for ParseWorkError
Auto Trait Implementations§
impl Freeze for ParseWorkError
impl RefUnwindSafe for ParseWorkError
impl Send for ParseWorkError
impl Sync for ParseWorkError
impl Unpin for ParseWorkError
impl UnsafeUnpin for ParseWorkError
impl UnwindSafe for ParseWorkError
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