pub enum GatewayManagerError {
Config(ConfigError),
Upstream(UpstreamError),
GatewayReloading,
StoreNotMounted,
UpstreamExists(String),
UpstreamMissing(String),
OAuth(String),
}Variants§
Config(ConfigError)
Upstream(UpstreamError)
GatewayReloading
StoreNotMounted
UpstreamExists(String)
UpstreamMissing(String)
OAuth(String)
Trait Implementations§
Source§impl Debug for GatewayManagerError
impl Debug for GatewayManagerError
Source§impl Display for GatewayManagerError
impl Display for GatewayManagerError
Source§impl Error for GatewayManagerError
impl Error for GatewayManagerError
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<ConfigError> for GatewayManagerError
impl From<ConfigError> for GatewayManagerError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for GatewayManagerError
impl From<ConfigError> for GatewayManagerError
Source§impl From<GatewayManagerError> for GatewayDispatchError
impl From<GatewayManagerError> for GatewayDispatchError
Source§fn from(source: GatewayManagerError) -> Self
fn from(source: GatewayManagerError) -> Self
Converts to this type from the input type.
Source§impl From<UpstreamError> for GatewayManagerError
impl From<UpstreamError> for GatewayManagerError
Source§fn from(source: UpstreamError) -> Self
fn from(source: UpstreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GatewayManagerError
impl !RefUnwindSafe for GatewayManagerError
impl Send for GatewayManagerError
impl Sync for GatewayManagerError
impl Unpin for GatewayManagerError
impl UnsafeUnpin for GatewayManagerError
impl !UnwindSafe for GatewayManagerError
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