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