pub enum HostError {
Show 14 variants
ChannelError(ChannelError),
ServerError(ServerError),
ProcExists(String),
ProcRegistryPoisoned,
PeerAttachFailure(ProcAddr, PeerAttachError),
SpawnPanicked(String, String),
ProcessSpawnFailure(ProcAddr, String, Error),
ProcessConfigurationFailure(ProcAddr, Error),
AgentSpawnFailure(ProcAddr, Error),
MissingParameter(String, VarError),
InvalidParameter(String, Error),
ViaAttachFailure(Error),
ProcConstructionFailure(Error),
InvalidFrontendLocation(Location),
}Expand description
The type of error produced by host operations.
Variants§
ChannelError(ChannelError)
A channel error occurred during a host operation.
ServerError(ServerError)
A duplex server error occurred during a host operation.
ProcExists(String)
The named proc already exists and cannot be spawned.
ProcRegistryPoisoned
The host’s proc-name registry cannot be used safely.
PeerAttachFailure(ProcAddr, PeerAttachError)
Attaching a spawned proc to the host gateway failed.
SpawnPanicked(String, String)
The detached task spawning a proc panicked.
ProcessSpawnFailure(ProcAddr, String, Error)
Failures occuring while spawning a subprocess.
ProcessConfigurationFailure(ProcAddr, Error)
Failures occuring while configuring a subprocess.
AgentSpawnFailure(ProcAddr, Error)
Failures occuring while spawning a management actor in a proc.
MissingParameter(String, VarError)
An input parameter was missing.
InvalidParameter(String, Error)
An input parameter was invalid.
ViaAttachFailure(Error)
Attaching the gateway to a remote serve_via session failed.
ProcConstructionFailure(Error)
Constructing a built-in proc failed.
InvalidFrontendLocation(Location)
The service proc startup address contained a source route.
Trait Implementations§
Source§impl Error for HostError
impl Error for HostError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<ChannelError> for HostError
impl From<ChannelError> for HostError
Source§fn from(source: ChannelError) -> Self
fn from(source: ChannelError) -> Self
Source§impl From<ServerError> for HostError
impl From<ServerError> for HostError
Source§fn from(source: ServerError) -> Self
fn from(source: ServerError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for HostError
impl !UnwindSafe for HostError
impl Freeze for HostError
impl Send for HostError
impl Sync for HostError
impl Unpin for HostError
impl UnsafeUnpin for HostError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].