pub enum AgentProtocolHarnessError {
Protocol(AgentProtocolError),
Release(AgentReleaseError),
Host(AgentProtocolHostError),
Code(CodeError),
SessionNotFound,
SessionCapacity,
Closed,
}Expand description
Stable failures returned by the Code-owned multi-session Harness kernel.
Variants§
Protocol(AgentProtocolError)
Release(AgentReleaseError)
Host(AgentProtocolHostError)
Code(CodeError)
SessionNotFound
SessionCapacity
Closed
Implementations§
Trait Implementations§
Source§impl Debug for AgentProtocolHarnessError
impl Debug for AgentProtocolHarnessError
Source§impl Display for AgentProtocolHarnessError
impl Display for AgentProtocolHarnessError
Source§impl Error for AgentProtocolHarnessError
impl Error for AgentProtocolHarnessError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AgentProtocolError> for AgentProtocolHarnessError
impl From<AgentProtocolError> for AgentProtocolHarnessError
Source§fn from(source: AgentProtocolError) -> Self
fn from(source: AgentProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<AgentProtocolHostError> for AgentProtocolHarnessError
impl From<AgentProtocolHostError> for AgentProtocolHarnessError
Source§fn from(source: AgentProtocolHostError) -> Self
fn from(source: AgentProtocolHostError) -> Self
Converts to this type from the input type.
Source§impl From<AgentReleaseError> for AgentProtocolHarnessError
impl From<AgentReleaseError> for AgentProtocolHarnessError
Source§fn from(source: AgentReleaseError) -> Self
fn from(source: AgentReleaseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AgentProtocolHarnessError
impl !UnwindSafe for AgentProtocolHarnessError
impl Freeze for AgentProtocolHarnessError
impl Send for AgentProtocolHarnessError
impl Sync for AgentProtocolHarnessError
impl Unpin for AgentProtocolHarnessError
impl UnsafeUnpin for AgentProtocolHarnessError
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 more