pub struct FrontBackCapture {
pub front: String,
pub back: Option<String>,
pub total_bytes: u64,
pub spill_path: Option<PathBuf>,
}Expand description
The combined front/back capture (present when the request asked for it).
Fields§
§front: StringThe first ~half of the char budget (everything, when not truncated).
back: Option<String>The last ~half of the char budget; None when nothing was cut.
total_bytes: u64True total combined output size in bytes (before any retention).
spill_path: Option<PathBuf>The spill file holding the full output (≤ SPILL_RETAIN_MAX), when
requested and creatable.
Trait Implementations§
Source§impl Clone for FrontBackCapture
impl Clone for FrontBackCapture
Source§fn clone(&self) -> FrontBackCapture
fn clone(&self) -> FrontBackCapture
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 moreAuto Trait Implementations§
impl Freeze for FrontBackCapture
impl RefUnwindSafe for FrontBackCapture
impl Send for FrontBackCapture
impl Sync for FrontBackCapture
impl Unpin for FrontBackCapture
impl UnsafeUnpin for FrontBackCapture
impl UnwindSafe for FrontBackCapture
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