pub struct WriterPanicked { /* private fields */ }Expand description
Error returned for the buffered data from BufWriter::into_parts, when the underlying
writer has previously panicked. Contains the (possibly partly written) buffered data.
Implementations§
Source§impl WriterPanicked
impl WriterPanicked
Sourcepub fn into_inner(self) -> Vec<u8, DEFAULT_BUF_SIZE, u16>
pub fn into_inner(self) -> Vec<u8, DEFAULT_BUF_SIZE, u16>
Returns the perhaps-unwritten data. Some of this data may have been written by the panicking call(s) to the underlying writer, so simply writing it again is not a good idea.
Trait Implementations§
Source§impl Debug for WriterPanicked
impl Debug for WriterPanicked
Auto Trait Implementations§
impl Freeze for WriterPanicked
impl RefUnwindSafe for WriterPanicked
impl Send for WriterPanicked
impl Sync for WriterPanicked
impl Unpin for WriterPanicked
impl UnsafeUnpin for WriterPanicked
impl UnwindSafe for WriterPanicked
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