pub enum AppServerProcessError {
Show 27 variants
InvalidConfiguration,
PreflightConfiguration(PreflightConfigurationRefusal),
SpawnFailed,
SpawnExecutableUnavailable,
SpawnExecutablePermissionDenied,
SpawnStdioUnavailable,
SpawnReaderUnavailable,
UnsupportedExecutableVersion,
TransportFailed,
FrameTooLarge,
UnexpectedEof,
Timeout,
ProcessExited,
AmbiguousAfterWriteNoReplay,
PostWriteJsonRpcRejectedNoReplay,
PostWriteSideEffectRejectedNoReplay,
PostWriteNotificationOrStateMismatchNoReplay,
PostWriteTimeoutNoReplay,
PostWriteUnexpectedEofNoReplay,
PostWriteTransportNoReplay,
PostWriteCapacityExceededNoReplay,
Runtime(RuntimeError),
ModelRerouted,
ShutdownFailed,
DiscoveryPageLimit,
EventCapacityExceeded,
UnexpectedTerminalStatus,
}Variants§
InvalidConfiguration
PreflightConfiguration(PreflightConfigurationRefusal)
SpawnFailed
SpawnExecutablePermissionDenied
UnsupportedExecutableVersion
TransportFailed
FrameTooLarge
UnexpectedEof
Timeout
ProcessExited
AmbiguousAfterWriteNoReplay
PostWriteJsonRpcRejectedNoReplay
PostWriteSideEffectRejectedNoReplay
PostWriteNotificationOrStateMismatchNoReplay
PostWriteTimeoutNoReplay
PostWriteUnexpectedEofNoReplay
PostWriteTransportNoReplay
PostWriteCapacityExceededNoReplay
Runtime(RuntimeError)
ModelRerouted
ShutdownFailed
DiscoveryPageLimit
EventCapacityExceeded
UnexpectedTerminalStatus
Implementations§
Source§impl AppServerProcessError
impl AppServerProcessError
Sourcepub const fn preflight_refusal_class(&self) -> &'static str
pub const fn preflight_refusal_class(&self) -> &'static str
Fixed, content-free class for the owned-child preflight boundary.
This deliberately never includes a path, argv element, operating-system error text, child output, or configuration fact. It exists solely to distinguish the fail-closed boundaries needed to diagnose an owned child that could not reach JSON-RPC initialization.
Trait Implementations§
Source§impl Debug for AppServerProcessError
impl Debug for AppServerProcessError
Source§impl Display for AppServerProcessError
impl Display for AppServerProcessError
impl Eq for AppServerProcessError
Source§impl Error for AppServerProcessError
impl Error for AppServerProcessError
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<RuntimeError> for AppServerProcessError
impl From<RuntimeError> for AppServerProcessError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AppServerProcessError
impl PartialEq for AppServerProcessError
impl StructuralPartialEq for AppServerProcessError
Auto Trait Implementations§
impl Freeze for AppServerProcessError
impl RefUnwindSafe for AppServerProcessError
impl Send for AppServerProcessError
impl Sync for AppServerProcessError
impl Unpin for AppServerProcessError
impl UnsafeUnpin for AppServerProcessError
impl UnwindSafe for AppServerProcessError
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