#[repr(u8)]pub enum ErrorExitCode {
Show 60 variants
AdminCredentialsAdministratorMissing = 100,
AdminCredentialsAdministratorNoDefault = 101,
AdminCredentialsCredsFileCreate = 102,
AdminCredentialsCredsFileMissing = 103,
AdminCredentialsCredsFileNotAFile = 104,
AdminCredentialsCredsFileWrite = 105,
AdminCredentialsPassphraseTooShort = 106,
ApplyPermissions = 10,
Chown = 11,
CommandAttachToStdin = 12,
CommandBackground = 13,
CommandExec = 14,
CommandNonZero = 15,
CommandWriteToStdin = 16,
ConfigConfigMissing = 120,
ConfigDuplicateNetHsmUserId = 121,
ConfigDuplicateSshPublicKey = 122,
ConfigDuplicateKeyId = 123,
ConfigDuplicateSystemUserId = 124,
ConfigDuplicateTag = 125,
ConfigInvalidSystemUserName = 126,
ConfigInvalidAuthorizedKeyEntry = 127,
ConfigMetricsAlsoOperator = 128,
ConfigMissingAdministrator = 129,
ConfigMissingShareDownloadSystemUser = 130,
ConfigMissingShareUploadSystemUser = 131,
ConfigNoAuthorizedKeys = 132,
ConfigNoMatchingMappingForSystemUser = 133,
ConfigNoSssButShareUsers = 134,
ConfigSshKey = 135,
ConfigUser = 136,
IoPath = 17,
NetHsm = 18,
NetHsmBackend = 19,
NonAdminCredentialsCredentialsLoading = 140,
NonAdminCredentialsCredentialsMissing = 141,
NonAdminCredentialsNoSystemUser = 142,
NonAdminCredentialsNotSigningUser = 143,
NonAdminCredentialsSecretsDirCreate = 144,
NonAdminCredentialsSecretsFileCreate = 145,
NonAdminCredentialsSecretsFileMetadata = 146,
NonAdminCredentialsSecretsFileMissing = 147,
NonAdminCredentialsSecretsFileNotAFile = 148,
NonAdminCredentialsSecretsFilePermissions = 149,
NonAdminCredentialsSecretsFileRead = 150,
NonAdminCredentialsSecretsFileWrite = 151,
SignstarCommonAdminCredsApplyPermissions = 170,
SignstarCommonAdminCredsCreateDirectory = 171,
SignstarCommonAdminCredsDirChangeOwner = 172,
Thread = 20,
TomlRead = 21,
TomlWrite = 22,
Utf8String = 23,
UtilsExecutableNotFound = 190,
UtilsMappingSystemUserGet = 191,
UtilsSystemUserData = 192,
UtilsSystemUserLookup = 193,
UtilsSystemUserMismatch = 194,
UtilsSystemUserNotRoot = 195,
UtilsSystemUserRoot = 196,
}Variants§
AdminCredentialsAdministratorMissing = 100
Mapping for crate::admin_credentials::Error::AdministratorMissing wrapped in
Error::AdminSecretHandling.
AdminCredentialsAdministratorNoDefault = 101
Mapping for crate::admin_credentials::Error::AdministratorNoDefault wrapped in
Error::AdminSecretHandling.
AdminCredentialsCredsFileCreate = 102
Mapping for crate::admin_credentials::Error::CredsFileCreate wrapped in
Error::AdminSecretHandling.
AdminCredentialsCredsFileMissing = 103
Mapping for crate::admin_credentials::Error::CredsFileMissing wrapped in
Error::AdminSecretHandling.
AdminCredentialsCredsFileNotAFile = 104
Mapping for crate::admin_credentials::Error::CredsFileNotAFile wrapped in
Error::AdminSecretHandling.
AdminCredentialsCredsFileWrite = 105
Mapping for crate::admin_credentials::Error::CredsFileWrite wrapped in
Error::AdminSecretHandling.
AdminCredentialsPassphraseTooShort = 106
Mapping for crate::admin_credentials::Error::PassphraseTooShort wrapped in
Error::AdminSecretHandling.
ApplyPermissions = 10
Mapping for Error::ApplyPermissions.
Chown = 11
Mapping for Error::Chown.
CommandAttachToStdin = 12
Mapping for Error::CommandAttachToStdin.
CommandBackground = 13
Mapping for Error::CommandBackground.
CommandExec = 14
Mapping for Error::CommandExec.
CommandNonZero = 15
Mapping for Error::CommandNonZero.
CommandWriteToStdin = 16
Mapping for Error::CommandWriteToStdin.
ConfigConfigMissing = 120
Mapping for crate::ConfigError::ConfigIsMissing wrapped in Error::Config.
ConfigDuplicateNetHsmUserId = 121
Mapping for crate::ConfigError::DuplicateNetHsmUserId wrapped in
Error::Config.
ConfigDuplicateSshPublicKey = 122
Mapping for crate::ConfigError::DuplicateSshPublicKey wrapped in
Error::Config.
ConfigDuplicateKeyId = 123
Mapping for crate::ConfigError::DuplicateKeyId wrapped in Error::Config.
ConfigDuplicateSystemUserId = 124
Mapping for crate::ConfigError::DuplicateSystemUserId wrapped in
Error::Config.
ConfigDuplicateTag = 125
Mapping for crate::ConfigError::DuplicateTag wrapped in Error::Config.
ConfigInvalidSystemUserName = 126
Mapping for crate::ConfigError::InvalidSystemUserName wrapped in
Error::Config.
ConfigInvalidAuthorizedKeyEntry = 127
Mapping for crate::ConfigError::InvalidAuthorizedKeyEntry wrapped in
Error::Config.
ConfigMetricsAlsoOperator = 128
Mapping for crate::ConfigError::MetricsAlsoOperator wrapped in
Error::Config.
ConfigMissingAdministrator = 129
Mapping for crate::ConfigError::MissingAdministrator wrapped in
Error::Config.
Mapping for crate::ConfigError::MissingShareDownloadSystemUser wrapped in
Error::Config.
Mapping for crate::ConfigError::MissingShareUploadSystemUser wrapped in
Error::Config.
ConfigNoAuthorizedKeys = 132
Mapping for crate::ConfigError::NoAuthorizedKeys wrapped in Error::Config.
ConfigNoMatchingMappingForSystemUser = 133
Mapping for crate::ConfigError::NoMatchingMappingForSystemUser wrapped in
Error::Config.
Mapping for crate::ConfigError::NoSssButShareUsers wrapped in Error::Config.
ConfigSshKey = 135
Mapping for crate::ConfigError::SshKey wrapped in Error::Config.
ConfigUser = 136
Mapping for crate::ConfigError::User wrapped in Error::Config.
IoPath = 17
Mapping for crate::Error::NetHsm.
NetHsm = 18
Mapping for crate::Error::NetHsm.
NetHsmBackend = 19
Mapping for crate::Error::NetHsmBackend.
NonAdminCredentialsCredentialsLoading = 140
Mapping for crate::non_admin_credentials::Error::CredentialsLoading wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsCredentialsMissing = 141
Mapping for crate::non_admin_credentials::Error::CredentialsMissing wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsNoSystemUser = 142
Mapping for crate::non_admin_credentials::Error::NoSystemUser wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsNotSigningUser = 143
Mapping for crate::non_admin_credentials::Error::NotSigningUser wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsDirCreate = 144
Mapping for crate::non_admin_credentials::Error::SecretsDirCreate wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileCreate = 145
Mapping for crate::non_admin_credentials::Error::SecretsFileCreate wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileMetadata = 146
Mapping for crate::non_admin_credentials::Error::SecretsFileMetadata wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileMissing = 147
Mapping for crate::non_admin_credentials::Error::SecretsFileMissing wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileNotAFile = 148
Mapping for crate::non_admin_credentials::Error::SecretsFileNotAFile wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFilePermissions = 149
Mapping for crate::non_admin_credentials::Error::SecretsFilePermissions wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileRead = 150
Mapping for crate::non_admin_credentials::Error::SecretsFileRead wrapped in
Error::NonAdminSecretHandling.
NonAdminCredentialsSecretsFileWrite = 151
Mapping for crate::non_admin_credentials::Error::SecretsFileWrite wrapped in
Error::NonAdminSecretHandling.
SignstarCommonAdminCredsApplyPermissions = 170
Mapping for signstar_common::admin_credentials::Error::ApplyPermissions wrapped in
Error::SignstarCommonAdminCreds.
SignstarCommonAdminCredsCreateDirectory = 171
Mapping for signstar_common::admin_credentials::Error::CreateDirectory wrapped in
Error::SignstarCommonAdminCreds.
SignstarCommonAdminCredsDirChangeOwner = 172
Mapping for signstar_common::admin_credentials::Error::DirChangeOwner wrapped in
Error::SignstarCommonAdminCreds.
Thread = 20
Mapping for Error::Thread.
TomlRead = 21
Mapping for Error::TomlRead.
TomlWrite = 22
Mapping for Error::TomlWrite.
Utf8String = 23
Mapping for Error::Utf8String.
UtilsExecutableNotFound = 190
Mapping for crate::utils::Error::ExecutableNotFound wrapped in Error::Utils.
UtilsMappingSystemUserGet = 191
Mapping for crate::utils::Error::MappingSystemUserGet wrapped in Error::Utils.
UtilsSystemUserData = 192
Mapping for crate::utils::Error::SystemUserData wrapped in Error::Utils.
UtilsSystemUserLookup = 193
Mapping for crate::utils::Error::SystemUserLookup wrapped in Error::Utils.
UtilsSystemUserMismatch = 194
Mapping for crate::utils::Error::SystemUserMismatch wrapped in Error::Utils.
UtilsSystemUserNotRoot = 195
Mapping for crate::utils::Error::SystemUserNotRoot wrapped in Error::Utils.
UtilsSystemUserRoot = 196
Mapping for crate::utils::Error::SystemUserRoot wrapped in Error::Utils.
Trait Implementations§
Source§impl Clone for ErrorExitCode
impl Clone for ErrorExitCode
Source§fn clone(&self) -> ErrorExitCode
fn clone(&self) -> ErrorExitCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ErrorExitCode
impl Debug for ErrorExitCode
Source§impl From<Error> for ErrorExitCode
impl From<Error> for ErrorExitCode
Source§impl From<ErrorExitCode> for ExitCode
impl From<ErrorExitCode> for ExitCode
Source§fn from(value: ErrorExitCode) -> Self
fn from(value: ErrorExitCode) -> Self
Source§impl From<ErrorExitCode> for i32
impl From<ErrorExitCode> for i32
Source§fn from(value: ErrorExitCode) -> Self
fn from(value: ErrorExitCode) -> Self
Source§impl From<ErrorExitCode> for u8
impl From<ErrorExitCode> for u8
Source§fn from(enum_value: ErrorExitCode) -> Self
fn from(enum_value: ErrorExitCode) -> Self
Source§impl Ord for ErrorExitCode
impl Ord for ErrorExitCode
Source§fn cmp(&self, other: &ErrorExitCode) -> Ordering
fn cmp(&self, other: &ErrorExitCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ErrorExitCode
impl PartialEq for ErrorExitCode
Source§impl PartialOrd for ErrorExitCode
impl PartialOrd for ErrorExitCode
impl Copy for ErrorExitCode
impl Eq for ErrorExitCode
impl StructuralPartialEq for ErrorExitCode
Auto Trait Implementations§
impl Freeze for ErrorExitCode
impl RefUnwindSafe for ErrorExitCode
impl Send for ErrorExitCode
impl Sync for ErrorExitCode
impl Unpin for ErrorExitCode
impl UnwindSafe for ErrorExitCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.