pub struct DebugGoalNameTooLong {
pub actual_code_units: usize,
}Expand description
Error returned when a goal-selector name exceeds 255 UTF-16 code units.
Fields§
§actual_code_units: usizeNumber of UTF-16 code units in the rejected name.
Trait Implementations§
Source§impl Clone for DebugGoalNameTooLong
impl Clone for DebugGoalNameTooLong
Source§fn clone(&self) -> DebugGoalNameTooLong
fn clone(&self) -> DebugGoalNameTooLong
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 moreimpl Copy for DebugGoalNameTooLong
Source§impl Debug for DebugGoalNameTooLong
impl Debug for DebugGoalNameTooLong
Source§impl Display for DebugGoalNameTooLong
impl Display for DebugGoalNameTooLong
impl Eq for DebugGoalNameTooLong
Source§impl Error for DebugGoalNameTooLong
impl Error for DebugGoalNameTooLong
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 Hash for DebugGoalNameTooLong
impl Hash for DebugGoalNameTooLong
Source§impl PartialEq for DebugGoalNameTooLong
impl PartialEq for DebugGoalNameTooLong
impl StructuralPartialEq for DebugGoalNameTooLong
Auto Trait Implementations§
impl Freeze for DebugGoalNameTooLong
impl RefUnwindSafe for DebugGoalNameTooLong
impl Send for DebugGoalNameTooLong
impl Sync for DebugGoalNameTooLong
impl Unpin for DebugGoalNameTooLong
impl UnsafeUnpin for DebugGoalNameTooLong
impl UnwindSafe for DebugGoalNameTooLong
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