pub struct TooLongForInlining {
pub length: usize,
pub inline_capacity: usize,
}Expand description
Error type returned when the string is too long for inline storage.
Fields§
§length: usizeThe length of the string
inline_capacity: usizeThe capacity of the inline storage
Trait Implementations§
Source§impl Debug for TooLongForInlining
impl Debug for TooLongForInlining
Source§impl Display for TooLongForInlining
impl Display for TooLongForInlining
Source§impl Error for TooLongForInlining
impl Error for TooLongForInlining
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()
Auto Trait Implementations§
impl Freeze for TooLongForInlining
impl RefUnwindSafe for TooLongForInlining
impl Send for TooLongForInlining
impl Sync for TooLongForInlining
impl Unpin for TooLongForInlining
impl UnwindSafe for TooLongForInlining
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