pub(crate) struct ExportCancelled {
pub(crate) chunks_sent: usize,
pub(crate) bytes_sent: usize,
}Expand description
Error returned when the client cancels a worker-mode export.
run_worker logs it and sends no error frame, since the client has stopped
listening.
Fields§
§chunks_sent: usizechunk frames published before the cancel was seen.
bytes_sent: usizeCSV bytes published before the cancel was seen.
Trait Implementations§
Source§impl Debug for ExportCancelled
impl Debug for ExportCancelled
Source§impl Display for ExportCancelled
impl Display for ExportCancelled
Source§impl Error for ExportCancelled
impl Error for ExportCancelled
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 ExportCancelled
impl RefUnwindSafe for ExportCancelled
impl Send for ExportCancelled
impl Sync for ExportCancelled
impl Unpin for ExportCancelled
impl UnsafeUnpin for ExportCancelled
impl UnwindSafe for ExportCancelled
Blanket Implementations§
impl<T> Allocation for T
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