pub enum PythonValueParseError {
Empty,
UnknownLabel,
}Expand description
Error returned when Python value metadata labels are invalid.
Variants§
Trait Implementations§
Source§impl Clone for PythonValueParseError
impl Clone for PythonValueParseError
Source§fn clone(&self) -> PythonValueParseError
fn clone(&self) -> PythonValueParseError
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 PythonValueParseError
impl Debug for PythonValueParseError
Source§impl Display for PythonValueParseError
impl Display for PythonValueParseError
Source§impl Error for PythonValueParseError
impl Error for PythonValueParseError
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 PythonValueParseError
impl PartialEq for PythonValueParseError
Source§fn eq(&self, other: &PythonValueParseError) -> bool
fn eq(&self, other: &PythonValueParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PythonValueParseError
impl Eq for PythonValueParseError
impl StructuralPartialEq for PythonValueParseError
Auto Trait Implementations§
impl Freeze for PythonValueParseError
impl RefUnwindSafe for PythonValueParseError
impl Send for PythonValueParseError
impl Sync for PythonValueParseError
impl Unpin for PythonValueParseError
impl UnsafeUnpin for PythonValueParseError
impl UnwindSafe for PythonValueParseError
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