Enum apollo_router::ApolloRouterError
source · pub enum ApolloRouterError {
StartupError,
HttpServerLifecycleError,
NoConfiguration,
NoSchema,
NoLicense,
LicenseViolation,
ServiceCreationError(BoxError),
ServerCreationError(Error),
DifferentListenAddrsOnSamePort(IpAddr, IpAddr, u16),
SameRouteUsedTwice(IpAddr, u16, String),
Rustls(Error),
}Expand description
Error types for FederatedServer.
Variants§
StartupError
failed to start server
HttpServerLifecycleError
failed to stop HTTP Server
NoConfiguration
no valid configuration was supplied
NoSchema
no valid schema was supplied
NoLicense
no valid license was supplied
LicenseViolation
license violation
ServiceCreationError(BoxError)
could not create router: {0}
ServerCreationError(Error)
could not create the HTTP server: {0}
DifferentListenAddrsOnSamePort(IpAddr, IpAddr, u16)
tried to bind {0} and {1} on port {2}
SameRouteUsedTwice(IpAddr, u16, String)
tried to register two endpoints on {0}:{1}{2}
Rustls(Error)
TLS configuration error: {0}
Trait Implementations§
source§impl Debug for ApolloRouterError
impl Debug for ApolloRouterError
source§impl Display for ApolloRouterError
impl Display for ApolloRouterError
source§impl Error for ApolloRouterError
impl Error for ApolloRouterError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ApolloRouterError
impl Send for ApolloRouterError
impl Sync for ApolloRouterError
impl Unpin for ApolloRouterError
impl !UnwindSafe for ApolloRouterError
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
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> 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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request