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