radroots_runtime_paths.txt (19531B)
1 pub mod radroots_runtime_paths 2 pub enum radroots_runtime_paths::RadrootsPathProfile 3 pub radroots_runtime_paths::RadrootsPathProfile::InteractiveUser 4 pub radroots_runtime_paths::RadrootsPathProfile::MobileNative 5 pub radroots_runtime_paths::RadrootsPathProfile::RepoLocal 6 pub radroots_runtime_paths::RadrootsPathProfile::ServiceHost 7 impl core::fmt::Display for radroots_runtime_paths::RadrootsPathProfile 8 pub fn radroots_runtime_paths::RadrootsPathProfile::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 9 pub enum radroots_runtime_paths::RadrootsPlatform 10 pub radroots_runtime_paths::RadrootsPlatform::Android 11 pub radroots_runtime_paths::RadrootsPlatform::Ios 12 pub radroots_runtime_paths::RadrootsPlatform::Linux 13 pub radroots_runtime_paths::RadrootsPlatform::Macos 14 pub radroots_runtime_paths::RadrootsPlatform::Other 15 pub radroots_runtime_paths::RadrootsPlatform::Windows 16 impl radroots_runtime_paths::RadrootsPlatform 17 pub fn radroots_runtime_paths::RadrootsPlatform::current() -> Self 18 pub fn radroots_runtime_paths::RadrootsPlatform::is_unix_like(self) -> bool 19 impl core::fmt::Display for radroots_runtime_paths::RadrootsPlatform 20 pub fn radroots_runtime_paths::RadrootsPlatform::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 21 pub enum radroots_runtime_paths::RadrootsRuntimePathsError 22 pub radroots_runtime_paths::RadrootsRuntimePathsError::InvalidHomeDir 23 pub radroots_runtime_paths::RadrootsRuntimePathsError::InvalidHomeDir::platform: radroots_runtime_paths::RadrootsPlatform 24 pub radroots_runtime_paths::RadrootsRuntimePathsError::InvalidRepoLocalRoot 25 pub radroots_runtime_paths::RadrootsRuntimePathsError::MissingHomeDir 26 pub radroots_runtime_paths::RadrootsRuntimePathsError::MissingHomeDir::platform: radroots_runtime_paths::RadrootsPlatform 27 pub radroots_runtime_paths::RadrootsRuntimePathsError::MissingRepoLocalRoot 28 pub radroots_runtime_paths::RadrootsRuntimePathsError::MissingWindowsUserDirs 29 pub radroots_runtime_paths::RadrootsRuntimePathsError::MissingXdgRuntimeDir 30 pub radroots_runtime_paths::RadrootsRuntimePathsError::SharedAccountsDataRootMissingParent 31 pub radroots_runtime_paths::RadrootsRuntimePathsError::SharedAccountsDataRootMissingParent::path: std::path::PathBuf 32 pub radroots_runtime_paths::RadrootsRuntimePathsError::UnsupportedProfilePlatform 33 pub radroots_runtime_paths::RadrootsRuntimePathsError::UnsupportedProfilePlatform::platform: radroots_runtime_paths::RadrootsPlatform 34 pub radroots_runtime_paths::RadrootsRuntimePathsError::UnsupportedProfilePlatform::profile: radroots_runtime_paths::RadrootsPathProfile 35 pub enum radroots_runtime_paths::RuntimeContextError 36 pub radroots_runtime_paths::RuntimeContextError::InvalidBootstrapBinding 37 pub radroots_runtime_paths::RuntimeContextError::PathSelection 38 pub enum radroots_runtime_paths::RuntimeContextSource 39 pub radroots_runtime_paths::RuntimeContextSource::BootstrapCli 40 pub radroots_runtime_paths::RuntimeContextSource::DerivedPath 41 pub radroots_runtime_paths::RuntimeContextSource::SafeDefault 42 pub radroots_runtime_paths::RuntimeContextSource::Toml 43 pub enum radroots_runtime_paths::ServiceCredentialArtifactNameError 44 pub radroots_runtime_paths::ServiceCredentialArtifactNameError::Empty 45 pub radroots_runtime_paths::ServiceCredentialArtifactNameError::InvalidBoundary 46 pub radroots_runtime_paths::ServiceCredentialArtifactNameError::InvalidCharacter 47 pub radroots_runtime_paths::ServiceCredentialArtifactNameError::TooLong 48 pub radroots_runtime_paths::ServiceCredentialArtifactNameError::TooLong::maximum: usize 49 pub enum radroots_runtime_paths::ServiceIdentityError 50 pub radroots_runtime_paths::ServiceIdentityError::Empty 51 pub radroots_runtime_paths::ServiceIdentityError::Empty::kind: radroots_runtime_paths::ServiceIdentityKind 52 pub radroots_runtime_paths::ServiceIdentityError::InvalidBoundary 53 pub radroots_runtime_paths::ServiceIdentityError::InvalidBoundary::kind: radroots_runtime_paths::ServiceIdentityKind 54 pub radroots_runtime_paths::ServiceIdentityError::InvalidCharacter 55 pub radroots_runtime_paths::ServiceIdentityError::InvalidCharacter::kind: radroots_runtime_paths::ServiceIdentityKind 56 pub radroots_runtime_paths::ServiceIdentityError::TooLong 57 pub radroots_runtime_paths::ServiceIdentityError::TooLong::kind: radroots_runtime_paths::ServiceIdentityKind 58 pub radroots_runtime_paths::ServiceIdentityError::TooLong::maximum: usize 59 pub enum radroots_runtime_paths::ServiceIdentityKind 60 pub radroots_runtime_paths::ServiceIdentityKind::Instance 61 pub radroots_runtime_paths::ServiceIdentityKind::Service 62 impl core::fmt::Display for radroots_runtime_paths::ServiceIdentityKind 63 pub fn radroots_runtime_paths::ServiceIdentityKind::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 64 pub enum radroots_runtime_paths::StateDirectoryProvisionError 65 pub radroots_runtime_paths::StateDirectoryProvisionError::Cleanup 66 pub radroots_runtime_paths::StateDirectoryProvisionError::DirectoryConflict 67 pub radroots_runtime_paths::StateDirectoryProvisionError::Filesystem 68 pub radroots_runtime_paths::StateDirectoryProvisionError::InvalidPlan 69 pub radroots_runtime_paths::StateDirectoryProvisionError::MissingDirectory 70 pub radroots_runtime_paths::StateDirectoryProvisionError::StateRootUnavailable 71 pub radroots_runtime_paths::StateDirectoryProvisionError::UnsafeDirectory 72 pub radroots_runtime_paths::StateDirectoryProvisionError::UnsupportedPlatform 73 pub radroots_runtime_paths::StateDirectoryProvisionError::UnsupportedProfile 74 impl core::error::Error for radroots_runtime_paths::StateDirectoryProvisionError 75 impl core::fmt::Display for radroots_runtime_paths::StateDirectoryProvisionError 76 pub fn radroots_runtime_paths::StateDirectoryProvisionError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 77 pub struct radroots_runtime_paths::InstanceId(_) 78 impl radroots_runtime_paths::InstanceId 79 pub fn radroots_runtime_paths::InstanceId::as_str(&self) -> &str 80 pub fn radroots_runtime_paths::InstanceId::into_string(self) -> alloc::string::String 81 pub fn radroots_runtime_paths::InstanceId::new(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_runtime_paths::ServiceIdentityError> 82 impl core::convert::AsRef<str> for radroots_runtime_paths::InstanceId 83 pub fn radroots_runtime_paths::InstanceId::as_ref(&self) -> &str 84 impl core::convert::From<radroots_runtime_paths::InstanceId> for alloc::string::String 85 pub fn alloc::string::String::from(radroots_runtime_paths::InstanceId) -> Self 86 impl core::convert::TryFrom<alloc::string::String> for radroots_runtime_paths::InstanceId 87 pub type radroots_runtime_paths::InstanceId::Error = radroots_runtime_paths::ServiceIdentityError 88 pub fn radroots_runtime_paths::InstanceId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 89 impl core::fmt::Display for radroots_runtime_paths::InstanceId 90 pub fn radroots_runtime_paths::InstanceId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 91 impl core::str::traits::FromStr for radroots_runtime_paths::InstanceId 92 pub type radroots_runtime_paths::InstanceId::Err = radroots_runtime_paths::ServiceIdentityError 93 pub fn radroots_runtime_paths::InstanceId::from_str(&str) -> core::result::Result<Self, Self::Err> 94 impl serde_core::ser::Serialize for radroots_runtime_paths::InstanceId 95 pub fn radroots_runtime_paths::InstanceId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 96 impl<'de> serde_core::de::Deserialize<'de> for radroots_runtime_paths::InstanceId 97 pub fn radroots_runtime_paths::InstanceId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 98 pub struct radroots_runtime_paths::RadrootsHostEnvironment 99 pub radroots_runtime_paths::RadrootsHostEnvironment::appdata_dir: core::option::Option<std::path::PathBuf> 100 pub radroots_runtime_paths::RadrootsHostEnvironment::home_dir: core::option::Option<std::path::PathBuf> 101 pub radroots_runtime_paths::RadrootsHostEnvironment::localappdata_dir: core::option::Option<std::path::PathBuf> 102 pub radroots_runtime_paths::RadrootsHostEnvironment::xdg_cache_home: core::option::Option<std::path::PathBuf> 103 pub radroots_runtime_paths::RadrootsHostEnvironment::xdg_config_home: core::option::Option<std::path::PathBuf> 104 pub radroots_runtime_paths::RadrootsHostEnvironment::xdg_data_home: core::option::Option<std::path::PathBuf> 105 pub radroots_runtime_paths::RadrootsHostEnvironment::xdg_runtime_dir: core::option::Option<std::path::PathBuf> 106 pub radroots_runtime_paths::RadrootsHostEnvironment::xdg_state_home: core::option::Option<std::path::PathBuf> 107 pub struct radroots_runtime_paths::RadrootsPathResolver 108 impl radroots_runtime_paths::RadrootsPathResolver 109 pub fn radroots_runtime_paths::RadrootsPathResolver::new(radroots_runtime_paths::RadrootsPlatform, radroots_runtime_paths::RadrootsHostEnvironment) -> Self 110 pub fn radroots_runtime_paths::RadrootsPathResolver::platform(&self) -> radroots_runtime_paths::RadrootsPlatform 111 pub struct radroots_runtime_paths::RadrootsServiceInstanceArtifacts 112 impl radroots_runtime_paths::RadrootsServiceInstanceArtifacts 113 pub fn radroots_runtime_paths::RadrootsServiceInstanceArtifacts::admin_socket(&self) -> &std::path::Path 114 pub fn radroots_runtime_paths::RadrootsServiceInstanceArtifacts::config(&self) -> &std::path::Path 115 pub fn radroots_runtime_paths::RadrootsServiceInstanceArtifacts::state_database(&self) -> &std::path::Path 116 pub fn radroots_runtime_paths::RadrootsServiceInstanceArtifacts::state_lock(&self) -> &std::path::Path 117 impl core::fmt::Debug for radroots_runtime_paths::RadrootsServiceInstanceArtifacts 118 pub fn radroots_runtime_paths::RadrootsServiceInstanceArtifacts::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 119 pub struct radroots_runtime_paths::RadrootsServiceInstancePaths 120 impl radroots_runtime_paths::RadrootsServiceInstancePaths 121 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::cache(&self) -> &std::path::Path 122 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::config(&self) -> &std::path::Path 123 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::logs(&self) -> &std::path::Path 124 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::run(&self) -> &std::path::Path 125 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::secrets(&self) -> &std::path::Path 126 pub fn radroots_runtime_paths::RadrootsServiceInstancePaths::state(&self) -> &std::path::Path 127 pub struct radroots_runtime_paths::RuntimeContext 128 impl radroots_runtime_paths::RuntimeContext 129 pub fn radroots_runtime_paths::RuntimeContext::instance(&self) -> &radroots_runtime_paths::InstanceId 130 pub fn radroots_runtime_paths::RuntimeContext::paths(&self) -> &radroots_runtime_paths::RadrootsServiceInstancePaths 131 pub fn radroots_runtime_paths::RuntimeContext::profile(&self) -> radroots_runtime_paths::RadrootsPathProfile 132 pub fn radroots_runtime_paths::RuntimeContext::repo_local_root(&self) -> core::option::Option<&std::path::Path> 133 pub fn radroots_runtime_paths::RuntimeContext::resolve(&radroots_runtime_paths::RadrootsPathResolver, radroots_runtime_paths::RuntimeContextBootstrap, radroots_runtime_paths::ServiceId, radroots_runtime_paths::InstanceId) -> core::result::Result<Self, radroots_runtime_paths::RuntimeContextError> 134 pub fn radroots_runtime_paths::RuntimeContext::service(&self) -> &radroots_runtime_paths::ServiceId 135 pub fn radroots_runtime_paths::RuntimeContext::sources(&self) -> &radroots_runtime_paths::RuntimeContextSources 136 pub fn radroots_runtime_paths::RuntimeContext::state_directory_plan(&self) -> core::result::Result<radroots_runtime_paths::RuntimeStateDirectoryPlan, radroots_runtime_paths::StateDirectoryProvisionError> 137 impl core::fmt::Debug for radroots_runtime_paths::RuntimeContext 138 pub fn radroots_runtime_paths::RuntimeContext::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 139 impl serde_core::ser::Serialize for radroots_runtime_paths::RuntimeContext 140 pub fn radroots_runtime_paths::RuntimeContext::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 141 pub struct radroots_runtime_paths::RuntimeContextBootstrap 142 impl radroots_runtime_paths::RuntimeContextBootstrap 143 pub fn radroots_runtime_paths::RuntimeContextBootstrap::new(radroots_runtime_paths::RadrootsPathProfile, core::option::Option<std::path::PathBuf>, radroots_runtime_paths::RuntimeContextSource, radroots_runtime_paths::RuntimeContextSource) -> core::result::Result<Self, radroots_runtime_paths::RuntimeContextError> 144 pub fn radroots_runtime_paths::RuntimeContextBootstrap::profile(&self) -> radroots_runtime_paths::RadrootsPathProfile 145 impl core::fmt::Debug for radroots_runtime_paths::RuntimeContextBootstrap 146 pub fn radroots_runtime_paths::RuntimeContextBootstrap::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 147 pub struct radroots_runtime_paths::RuntimeContextSources 148 impl radroots_runtime_paths::RuntimeContextSources 149 pub fn radroots_runtime_paths::RuntimeContextSources::instance(&self) -> radroots_runtime_paths::RuntimeContextSource 150 pub fn radroots_runtime_paths::RuntimeContextSources::paths(&self) -> radroots_runtime_paths::RuntimeContextSource 151 pub fn radroots_runtime_paths::RuntimeContextSources::profile(&self) -> radroots_runtime_paths::RuntimeContextSource 152 pub fn radroots_runtime_paths::RuntimeContextSources::repo_local_root(&self) -> core::option::Option<radroots_runtime_paths::RuntimeContextSource> 153 pub fn radroots_runtime_paths::RuntimeContextSources::service(&self) -> radroots_runtime_paths::RuntimeContextSource 154 pub struct radroots_runtime_paths::RuntimeStateDirectoryPlan 155 impl radroots_runtime_paths::RuntimeStateDirectoryPlan 156 pub fn radroots_runtime_paths::RuntimeStateDirectoryPlan::profile(&self) -> radroots_runtime_paths::RadrootsPathProfile 157 pub fn radroots_runtime_paths::RuntimeStateDirectoryPlan::provision(&self) -> core::result::Result<(), radroots_runtime_paths::StateDirectoryProvisionError> 158 impl core::fmt::Debug for radroots_runtime_paths::RuntimeStateDirectoryPlan 159 pub fn radroots_runtime_paths::RuntimeStateDirectoryPlan::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 160 pub struct radroots_runtime_paths::ServiceCredentialArtifactName(_) 161 impl radroots_runtime_paths::ServiceCredentialArtifactName 162 pub fn radroots_runtime_paths::ServiceCredentialArtifactName::as_str(&self) -> &str 163 pub fn radroots_runtime_paths::ServiceCredentialArtifactName::new(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_runtime_paths::ServiceCredentialArtifactNameError> 164 impl core::convert::AsRef<str> for radroots_runtime_paths::ServiceCredentialArtifactName 165 pub fn radroots_runtime_paths::ServiceCredentialArtifactName::as_ref(&self) -> &str 166 impl core::fmt::Debug for radroots_runtime_paths::ServiceCredentialArtifactName 167 pub fn radroots_runtime_paths::ServiceCredentialArtifactName::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 168 pub struct radroots_runtime_paths::ServiceId(_) 169 impl radroots_runtime_paths::ServiceId 170 pub fn radroots_runtime_paths::ServiceId::as_str(&self) -> &str 171 pub fn radroots_runtime_paths::ServiceId::into_string(self) -> alloc::string::String 172 pub fn radroots_runtime_paths::ServiceId::new(impl core::convert::AsRef<str>) -> core::result::Result<Self, radroots_runtime_paths::ServiceIdentityError> 173 impl core::convert::AsRef<str> for radroots_runtime_paths::ServiceId 174 pub fn radroots_runtime_paths::ServiceId::as_ref(&self) -> &str 175 impl core::convert::From<radroots_runtime_paths::ServiceId> for alloc::string::String 176 pub fn alloc::string::String::from(radroots_runtime_paths::ServiceId) -> Self 177 impl core::convert::TryFrom<alloc::string::String> for radroots_runtime_paths::ServiceId 178 pub type radroots_runtime_paths::ServiceId::Error = radroots_runtime_paths::ServiceIdentityError 179 pub fn radroots_runtime_paths::ServiceId::try_from(alloc::string::String) -> core::result::Result<Self, Self::Error> 180 impl core::fmt::Display for radroots_runtime_paths::ServiceId 181 pub fn radroots_runtime_paths::ServiceId::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result 182 impl core::str::traits::FromStr for radroots_runtime_paths::ServiceId 183 pub type radroots_runtime_paths::ServiceId::Err = radroots_runtime_paths::ServiceIdentityError 184 pub fn radroots_runtime_paths::ServiceId::from_str(&str) -> core::result::Result<Self, Self::Err> 185 impl serde_core::ser::Serialize for radroots_runtime_paths::ServiceId 186 pub fn radroots_runtime_paths::ServiceId::serialize<S>(&self, S) -> core::result::Result<<S as serde_core::ser::Serializer>::Ok, <S as serde_core::ser::Serializer>::Error> where S: serde_core::ser::Serializer 187 impl<'de> serde_core::de::Deserialize<'de> for radroots_runtime_paths::ServiceId 188 pub fn radroots_runtime_paths::ServiceId::deserialize<D>(D) -> core::result::Result<Self, <D as serde_core::de::Deserializer>::Error> where D: serde_core::de::Deserializer<'de> 189 pub const radroots_runtime_paths::DEFAULT_CONFIG_FILE_NAME: &str 190 pub const radroots_runtime_paths::DEFAULT_SHARED_GEONAMES_NAMESPACE: &str 191 pub const radroots_runtime_paths::DEFAULT_SHARED_GEONAMES_NAMESPACE_KIND: &str 192 pub const radroots_runtime_paths::DEFAULT_SHARED_GEONAMES_NAMESPACE_VALUE: &str 193 pub const radroots_runtime_paths::DEFAULT_SHARED_RUNTIME_STORE_DB_FILE_NAME: &str 194 pub const radroots_runtime_paths::DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE: &str 195 pub const radroots_runtime_paths::DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE_KIND: &str 196 pub const radroots_runtime_paths::DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE_VALUE: &str 197 pub const radroots_runtime_paths::INSTANCE_ID_MAX_BYTES: usize 198 pub const radroots_runtime_paths::SERVICE_ADMIN_SOCKET_FILE_NAME: &str 199 pub const radroots_runtime_paths::SERVICE_CREDENTIAL_ARTIFACT_NAME_MAX_BYTES: usize 200 pub const radroots_runtime_paths::SERVICE_ID_MAX_BYTES: usize 201 pub const radroots_runtime_paths::SERVICE_STATE_DATABASE_FILE_NAME: &str 202 pub const radroots_runtime_paths::SERVICE_STATE_LOCK_FILE_NAME: &str 203 pub fn radroots_runtime_paths::default_service_instance_artifacts(&radroots_runtime_paths::RadrootsServiceInstancePaths) -> radroots_runtime_paths::RadrootsServiceInstanceArtifacts 204 pub fn radroots_runtime_paths::default_shared_geonames_database_file_name(&str) -> alloc::string::String 205 pub fn radroots_runtime_paths::default_shared_geonames_database_path_from_cache_root(impl core::convert::AsRef<std::path::Path>, &str) -> std::path::PathBuf 206 pub fn radroots_runtime_paths::default_shared_geonames_root_from_cache_root(impl core::convert::AsRef<std::path::Path>) -> std::path::PathBuf 207 pub fn radroots_runtime_paths::default_shared_runtime_store_database_path_from_data_root(impl core::convert::AsRef<std::path::Path>) -> std::path::PathBuf 208 pub fn radroots_runtime_paths::default_shared_runtime_store_database_path_from_shared_accounts_data_root(impl core::convert::AsRef<std::path::Path>) -> core::result::Result<std::path::PathBuf, radroots_runtime_paths::RadrootsRuntimePathsError> 209 pub fn radroots_runtime_paths::default_shared_runtime_store_root_from_data_root(impl core::convert::AsRef<std::path::Path>) -> std::path::PathBuf 210 pub fn radroots_runtime_paths::default_shared_runtime_store_root_from_shared_accounts_data_root(impl core::convert::AsRef<std::path::Path>) -> core::result::Result<std::path::PathBuf, radroots_runtime_paths::RadrootsRuntimePathsError> 211 pub fn radroots_runtime_paths::service_credential_artifact_path(&radroots_runtime_paths::RadrootsServiceInstancePaths, &radroots_runtime_paths::ServiceCredentialArtifactName) -> std::path::PathBuf