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