pub enum Operation {
Show 25 variants
Unspecified,
Configure,
ValidateInput,
SelectModel,
ListModels,
ModelInfo,
UploadFile,
ListFiles,
FileInfo,
DeleteFile,
DownloadFile,
BatchStatus,
CancelBatch,
BatchResults,
ListBatches,
Health,
Shutdown,
Generate,
GenerateStream,
Embed,
SubmitBatch,
OpenSession,
SessionSend,
SessionReceive,
SessionClose,
}Expand description
Caller-visible operation associated with a failure.
Variants§
Unspecified
No enclosing behavioral call is available (for example, a standalone DTO check).
Configure
Provider construction.
ValidateInput
Standalone input validation.
SelectModel
Exact model selection.
ListModels
Model discovery.
ModelInfo
Model metadata lookup.
UploadFile
File upload.
ListFiles
File listing.
FileInfo
File metadata lookup.
DeleteFile
File deletion.
DownloadFile
Bounded file download.
BatchStatus
Batch status lookup.
CancelBatch
Batch cancellation.
BatchResults
Bounded batch result retrieval and normalization.
ListBatches
Batch listing.
Health
Runtime health check.
Shutdown
Shared provider shutdown.
Generate
Unary generation.
GenerateStream
Streaming generation, including stream consumption.
Embed
Embedding generation.
SubmitBatch
Batch submission.
OpenSession
Stateful session opening.
SessionSend
Sending a session command.
SessionReceive
Receiving a session event.
SessionClose
Session closure.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.