pub struct BatchResultEntry {
pub ref_: Ref,
pub outcome: Result<FetchPaperOutcome, FetchError>,
}Expand description
Per-ref outcome carried inside BatchOutcome::results.
Each entry’s outcome is independent — a single Err(...) does not
abort sibling refs. The MCP doiget_batch_fetch tool method
serializes the success-or-error per row inside results[].
Fields§
§ref_: RefThe parsed ref this entry describes.
outcome: Result<FetchPaperOutcome, FetchError>Ok(...) on a successful fetch through fetch_paper;
Err(...) on a per-ref failure (the outer call still returned
Ok(BatchOutcome)).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BatchResultEntry
impl !RefUnwindSafe for BatchResultEntry
impl Send for BatchResultEntry
impl Sync for BatchResultEntry
impl Unpin for BatchResultEntry
impl UnsafeUnpin for BatchResultEntry
impl !UnwindSafe for BatchResultEntry
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