pub struct TextError<W: Work = Memory> { /* private fields */ }Expand description
Failed text construction retaining the unchanged original buffer.
Consumed work is not refunded. Storage remains charged until the recovered buffer or this error is dropped; failure never copies or reallocates it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W = Memory> !Freeze for TextError<W>
impl<W> RefUnwindSafe for TextError<W>
impl<W> Send for TextError<W>
impl<W> Sync for TextError<W>
impl<W> Unpin for TextError<W>
impl<W> UnsafeUnpin for TextError<W>
impl<W> UnwindSafe for TextError<W>
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