pub enum ReturnKindParseError {
Empty,
}Expand description
Errors returned while parsing return kinds.
Variants§
Empty
The input was empty after trimming whitespace.
Trait Implementations§
Source§impl Clone for ReturnKindParseError
impl Clone for ReturnKindParseError
Source§fn clone(&self) -> ReturnKindParseError
fn clone(&self) -> ReturnKindParseError
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 moreimpl Copy for ReturnKindParseError
Source§impl Debug for ReturnKindParseError
impl Debug for ReturnKindParseError
Source§impl Display for ReturnKindParseError
impl Display for ReturnKindParseError
impl Eq for ReturnKindParseError
Source§impl Error for ReturnKindParseError
impl Error for ReturnKindParseError
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 ReturnKindParseError
impl PartialEq for ReturnKindParseError
Source§fn eq(&self, other: &ReturnKindParseError) -> bool
fn eq(&self, other: &ReturnKindParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReturnKindParseError
Auto Trait Implementations§
impl Freeze for ReturnKindParseError
impl RefUnwindSafe for ReturnKindParseError
impl Send for ReturnKindParseError
impl Sync for ReturnKindParseError
impl Unpin for ReturnKindParseError
impl UnsafeUnpin for ReturnKindParseError
impl UnwindSafe for ReturnKindParseError
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