pub struct RenderWorkbookHandler { /* private fields */ }Expand description
The render_workbook handler (WBSV-05): validate the inputs, then return a
provenance-bound workbook:// URI POINTER — NOT the .xlsx bytes. The bytes
are recomputed per resources/read by super::render_resource from the
decoded URI (stateless regen-on-read, Lambda-safe, V3).
The URI encodes the canonical inputs + the bundle ProvStamp
(combined_hash, Codex HIGH #3) via render_uri::encode. A domain failure
(invalid input, an un-encodable payload) routes through to_iserror_result
into structuredContent — never a protocol-level error (T-92-10).
Implementations§
Trait Implementations§
Source§impl ToolHandler for RenderWorkbookHandler
impl ToolHandler for RenderWorkbookHandler
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
args: Value,
_extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
args: Value,
_extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle a tool call with the given arguments.
Source§fn metadata(&self) -> Option<ToolInfo>
fn metadata(&self) -> Option<ToolInfo>
Get tool metadata including description and schema.
Returns None to use default empty metadata.
Source§fn handle_output<'life0, 'async_trait>(
&'life0 self,
args: Value,
extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn handle_output<'life0, 'async_trait>(
&'life0 self,
args: Value,
extra: RequestHandlerExtra,
) -> Pin<Box<dyn Future<Output = Result<ToolOutput, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Produce the tool’s
ToolOutput for a call. Read moreAuto Trait Implementations§
impl Freeze for RenderWorkbookHandler
impl RefUnwindSafe for RenderWorkbookHandler
impl Send for RenderWorkbookHandler
impl Sync for RenderWorkbookHandler
impl Unpin for RenderWorkbookHandler
impl UnsafeUnpin for RenderWorkbookHandler
impl UnwindSafe for RenderWorkbookHandler
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.