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