pub enum AgentSessionQueryErrorCode {
InvalidQuery,
NotFound,
Unsupported,
Unavailable,
PermissionDenied,
InvalidCursor,
Failed,
}Expand description
Required query error categories.
Variants§
InvalidQuery
Query fields or limits are invalid.
NotFound
Authorized canonical target was not found (also used to hide unauthorized targets).
Unsupported
Optional capability is not installed.
Canonical provider is temporarily unavailable.
PermissionDenied
Effective host scope denies the operation.
InvalidCursor
Cursor is malformed, stale, or belongs to another query/scope.
Failed
Bounded internal query failure.
Trait Implementations§
Source§impl Clone for AgentSessionQueryErrorCode
impl Clone for AgentSessionQueryErrorCode
Source§fn clone(&self) -> AgentSessionQueryErrorCode
fn clone(&self) -> AgentSessionQueryErrorCode
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 moreimpl Copy for AgentSessionQueryErrorCode
Source§impl Debug for AgentSessionQueryErrorCode
impl Debug for AgentSessionQueryErrorCode
Source§impl<'de> Deserialize<'de> for AgentSessionQueryErrorCode
impl<'de> Deserialize<'de> for AgentSessionQueryErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentSessionQueryErrorCode
impl StructuralPartialEq for AgentSessionQueryErrorCode
Auto Trait Implementations§
impl Freeze for AgentSessionQueryErrorCode
impl RefUnwindSafe for AgentSessionQueryErrorCode
impl Send for AgentSessionQueryErrorCode
impl Sync for AgentSessionQueryErrorCode
impl Unpin for AgentSessionQueryErrorCode
impl UnsafeUnpin for AgentSessionQueryErrorCode
impl UnwindSafe for AgentSessionQueryErrorCode
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