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