pub struct SpoolDecision {
pub original_size: u32,
pub preview: String,
}Expand description
Layer-1 spool decision for a single tool result (kernel decides; SDK writes to disk).
Fields§
§original_size: u32Byte size of the full (un-spooled) output.
preview: StringThe preview text the kernel keeps in working context in place of the full output.
Trait Implementations§
Source§impl Clone for SpoolDecision
impl Clone for SpoolDecision
Source§fn clone(&self) -> SpoolDecision
fn clone(&self) -> SpoolDecision
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 moreSource§impl Debug for SpoolDecision
impl Debug for SpoolDecision
impl Eq for SpoolDecision
Source§impl PartialEq for SpoolDecision
impl PartialEq for SpoolDecision
Source§fn eq(&self, other: &SpoolDecision) -> bool
fn eq(&self, other: &SpoolDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpoolDecision
Auto Trait Implementations§
impl Freeze for SpoolDecision
impl RefUnwindSafe for SpoolDecision
impl Send for SpoolDecision
impl Sync for SpoolDecision
impl Unpin for SpoolDecision
impl UnsafeUnpin for SpoolDecision
impl UnwindSafe for SpoolDecision
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