#[non_exhaustive]pub enum SubcModuleError {
Show 24 variants
InvalidControlOp(String),
DuplicateControlCorrelation(u64),
RegistrationChannel(Error),
MissingSubcArg,
MissingSubcValue,
EmptyModuleIdEnv,
NonUnicodeModuleIdEnv {
value: OsString,
},
ConnectionFile {
path: PathBuf,
source: ConnectionFileError,
},
NoEndpoint {
path: PathBuf,
},
Connect {
path: PathBuf,
endpoint: String,
source: Error,
},
Auth {
path: PathBuf,
endpoint: String,
source: AuthError,
},
FrameIo(FrameIoError),
FrameBuild(FrameBuildError),
Json(Error),
WriterClosed,
HandlerPanic,
StaleRouteHandle(RouteHandle),
ConnectionTokenExhausted,
WriterTask(JoinError),
InFlightPoisoned,
ConnectionClosedBeforeHelloAck,
UnexpectedHelloAck {
ty: FrameType,
},
HelloRejected {
body: ErrorBody,
},
LaunchNonce(LaunchNonceError),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidControlOp(String)
A module declared a malformed, duplicate or SDK-owned control operation.
DuplicateControlCorrelation(u64)
A daemon reused an outstanding channel-0 request’s correlation.
RegistrationChannel(Error)
MissingSubcArg
MissingSubcValue
EmptyModuleIdEnv
NonUnicodeModuleIdEnv
ConnectionFile
NoEndpoint
Connect
Auth
FrameIo(FrameIoError)
FrameBuild(FrameBuildError)
Json(Error)
WriterClosed
HandlerPanic
A request handler panicked. Its payload is never sent to the daemon.
StaleRouteHandle(RouteHandle)
ConnectionTokenExhausted
WriterTask(JoinError)
InFlightPoisoned
ConnectionClosedBeforeHelloAck
UnexpectedHelloAck
HelloRejected
LaunchNonce(LaunchNonceError)
The descriptor named for the launch nonce could not be read. HELLO is not sent without it, and the environment copy is not tried instead.
Trait Implementations§
Source§impl Debug for SubcModuleError
impl Debug for SubcModuleError
Source§impl Display for SubcModuleError
impl Display for SubcModuleError
Source§impl Error for SubcModuleError
impl Error for SubcModuleError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for SubcModuleError
impl !UnwindSafe for SubcModuleError
impl Forget for SubcModuleError
impl Freeze for SubcModuleError
impl Move for SubcModuleError
impl Send for SubcModuleError
impl Sync for SubcModuleError
impl Unpin for SubcModuleError
impl UnsafeUnpin for SubcModuleError
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