pub mod pmoconfig
pub mod pmoconfig::encryption
pub fn pmoconfig::encryption::decrypt_password(&pmoconfig::AppSpec, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::encryption::encrypt_password(&pmoconfig::AppSpec, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::encryption::get_password(&pmoconfig::AppSpec, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::encryption::is_encrypted(&str) -> bool
pub mod pmoconfig::error
pub enum pmoconfig::error::PmoConfigError
pub pmoconfig::error::PmoConfigError::ConfigDir
pub pmoconfig::error::PmoConfigError::ConfigDir::message: alloc::string::String
pub pmoconfig::error::PmoConfigError::Encryption
pub pmoconfig::error::PmoConfigError::Encryption::message: alloc::string::String
pub pmoconfig::error::PmoConfigError::InvalidFormat
pub pmoconfig::error::PmoConfigError::InvalidFormat::message: alloc::string::String
pub pmoconfig::error::PmoConfigError::InvalidValue
pub pmoconfig::error::PmoConfigError::InvalidValue::path: alloc::string::String
pub pmoconfig::error::PmoConfigError::InvalidValue::reason: alloc::string::String
pub pmoconfig::error::PmoConfigError::Io(core::io::error::Error)
pub pmoconfig::error::PmoConfigError::Json(serde_json::error::Error)
pub pmoconfig::error::PmoConfigError::NotAConfig
pub pmoconfig::error::PmoConfigError::NotAConfig::path: alloc::string::String
pub pmoconfig::error::PmoConfigError::NotFound
pub pmoconfig::error::PmoConfigError::NotFound::path: alloc::string::String
pub pmoconfig::error::PmoConfigError::Permission
pub pmoconfig::error::PmoConfigError::Permission::message: alloc::string::String
pub pmoconfig::error::PmoConfigError::Yaml(serde_yaml::error::Error)
impl core::convert::From<core::io::error::Error> for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::from(core::io::error::Error) -> Self
impl core::convert::From<serde_json::error::Error> for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::from(serde_json::error::Error) -> Self
impl core::convert::From<serde_yaml::error::Error> for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::from(serde_yaml::error::Error) -> Self
impl core::error::Error for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for pmoconfig::error::PmoConfigError
impl core::marker::Send for pmoconfig::error::PmoConfigError
impl core::marker::Sync for pmoconfig::error::PmoConfigError
impl core::marker::Unpin for pmoconfig::error::PmoConfigError
impl core::marker::UnsafeUnpin for pmoconfig::error::PmoConfigError
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::error::PmoConfigError
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::error::PmoConfigError
impl<T, U> core::convert::Into<U> for pmoconfig::error::PmoConfigError where U: core::convert::From<T>
pub fn pmoconfig::error::PmoConfigError::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for pmoconfig::error::PmoConfigError where U: core::convert::Into<T>
pub type pmoconfig::error::PmoConfigError::Error = never
pub fn pmoconfig::error::PmoConfigError::try_from(U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
impl<T, U> core::convert::TryInto<U> for pmoconfig::error::PmoConfigError where U: core::convert::TryFrom<T>
pub type pmoconfig::error::PmoConfigError::Error = <U as core::convert::TryFrom<T>>::Error
pub fn pmoconfig::error::PmoConfigError::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
impl<T> alloc::string::ToString for pmoconfig::error::PmoConfigError where T: core::fmt::Display + ?core::marker::Sized
pub fn pmoconfig::error::PmoConfigError::to_string(&self) -> alloc::string::String
impl<T> core::any::Any for pmoconfig::error::PmoConfigError where T: 'static + ?core::marker::Sized
pub fn pmoconfig::error::PmoConfigError::type_id(&self) -> core::any::TypeId
impl<T> core::borrow::Borrow<T> for pmoconfig::error::PmoConfigError where T: ?core::marker::Sized
pub fn pmoconfig::error::PmoConfigError::borrow(&self) -> &T
impl<T> core::borrow::BorrowMut<T> for pmoconfig::error::PmoConfigError where T: ?core::marker::Sized
pub fn pmoconfig::error::PmoConfigError::borrow_mut(&mut self) -> &mut T
impl<T> core::convert::From<T> for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::from(T) -> T
impl<T> tracing::instrument::Instrument for pmoconfig::error::PmoConfigError
impl<T> tracing::instrument::WithSubscriber for pmoconfig::error::PmoConfigError
impl<T> typenum::type_operators::Same for pmoconfig::error::PmoConfigError
pub type pmoconfig::error::PmoConfigError::Output = T
pub type pmoconfig::error::Result<T> = core::result::Result<T, pmoconfig::error::PmoConfigError>
pub struct pmoconfig::AppSpec
impl pmoconfig::AppSpec
pub const fn pmoconfig::AppSpec::default_yaml(&self) -> &'static str
pub fn pmoconfig::AppSpec::dir_env_var(&self) -> alloc::string::String
pub fn pmoconfig::AppSpec::dir_name(&self) -> alloc::string::String
pub fn pmoconfig::AppSpec::key_salt(&self) -> alloc::string::String
pub const fn pmoconfig::AppSpec::new(&'static str, &'static str) -> Self
pub fn pmoconfig::AppSpec::nonce_salt(&self) -> alloc::string::String
pub fn pmoconfig::AppSpec::override_prefix(&self) -> alloc::string::String
pub const fn pmoconfig::AppSpec::prefix(&self) -> &'static str
pub const fn pmoconfig::AppSpec::with_default_yaml(self, &'static str) -> Self
impl core::clone::Clone for pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::clone(&self) -> pmoconfig::AppSpec
impl core::cmp::Eq for pmoconfig::AppSpec
impl core::cmp::PartialEq for pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::eq(&self, &pmoconfig::AppSpec) -> bool
impl core::fmt::Debug for pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::AppSpec
impl core::marker::StructuralPartialEq for pmoconfig::AppSpec
impl core::marker::Freeze for pmoconfig::AppSpec
impl core::marker::Send for pmoconfig::AppSpec
impl core::marker::Sync for pmoconfig::AppSpec
impl core::marker::Unpin for pmoconfig::AppSpec
impl core::marker::UnsafeUnpin for pmoconfig::AppSpec
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::AppSpec
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::AppSpec
impl<Q, K> equivalent::Equivalent<K> for pmoconfig::AppSpec where Q: core::cmp::Eq + ?core::marker::Sized, K: core::borrow::Borrow<Q> + ?core::marker::Sized
pub fn pmoconfig::AppSpec::equivalent(&self, &K) -> bool
impl<Q, K> hashbrown::Equivalent<K> for pmoconfig::AppSpec where Q: core::cmp::Eq + ?core::marker::Sized, K: core::borrow::Borrow<Q> + ?core::marker::Sized
pub fn pmoconfig::AppSpec::equivalent(&self, &K) -> bool
impl<T, U> core::convert::Into<U> for pmoconfig::AppSpec where U: core::convert::From<T>
pub fn pmoconfig::AppSpec::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for pmoconfig::AppSpec where U: core::convert::Into<T>
pub type pmoconfig::AppSpec::Error = never
pub fn pmoconfig::AppSpec::try_from(U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
impl<T, U> core::convert::TryInto<U> for pmoconfig::AppSpec where U: core::convert::TryFrom<T>
pub type pmoconfig::AppSpec::Error = <U as core::convert::TryFrom<T>>::Error
pub fn pmoconfig::AppSpec::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
impl<T> alloc::borrow::ToOwned for pmoconfig::AppSpec where T: core::clone::Clone
pub type pmoconfig::AppSpec::Owned = T
pub fn pmoconfig::AppSpec::clone_into(&self, &mut T)
pub fn pmoconfig::AppSpec::to_owned(&self) -> T
impl<T> core::any::Any for pmoconfig::AppSpec where T: 'static + ?core::marker::Sized
pub fn pmoconfig::AppSpec::type_id(&self) -> core::any::TypeId
impl<T> core::borrow::Borrow<T> for pmoconfig::AppSpec where T: ?core::marker::Sized
pub fn pmoconfig::AppSpec::borrow(&self) -> &T
impl<T> core::borrow::BorrowMut<T> for pmoconfig::AppSpec where T: ?core::marker::Sized
pub fn pmoconfig::AppSpec::borrow_mut(&mut self) -> &mut T
impl<T> core::clone::CloneToUninit for pmoconfig::AppSpec where T: core::clone::Clone
pub unsafe fn pmoconfig::AppSpec::clone_to_uninit(&self, *mut u8)
impl<T> core::convert::From<T> for pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::from(T) -> T
impl<T> tracing::instrument::Instrument for pmoconfig::AppSpec
impl<T> tracing::instrument::WithSubscriber for pmoconfig::AppSpec
impl<T> typenum::type_operators::Same for pmoconfig::AppSpec
pub type pmoconfig::AppSpec::Output = T
pub struct pmoconfig::Config
impl pmoconfig::Config
pub fn pmoconfig::Config::config_dir(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<alloc::string::String>
pub fn pmoconfig::Config::get_managed_dir(&self, &[&str], &str) -> pmoconfig::error::Result<alloc::string::String>
pub fn pmoconfig::Config::get_value(&self, &[&str]) -> pmoconfig::error::Result<serde_yaml::value::Value>
pub fn pmoconfig::Config::load(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<Self>
pub fn pmoconfig::Config::save(&self) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::set_managed_dir(&self, &[&str], alloc::string::String) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::set_value(&self, &[&str], serde_yaml::value::Value) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::spec(&self) -> &pmoconfig::AppSpec
impl pmoconfig::Config
pub fn pmoconfig::Config::get_bool_or_set(&self, &[&str], bool) -> pmoconfig::error::Result<bool>
pub fn pmoconfig::Config::get_number(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<f64>>
pub fn pmoconfig::Config::get_number_or_set(&self, &[&str], f64) -> pmoconfig::error::Result<f64>
pub fn pmoconfig::Config::get_string(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<alloc::string::String>>
impl core::clone::Clone for pmoconfig::Config
pub fn pmoconfig::Config::clone(&self) -> Self
impl core::fmt::Debug for pmoconfig::Config
pub fn pmoconfig::Config::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl !core::marker::Freeze for pmoconfig::Config
impl core::marker::Send for pmoconfig::Config
impl core::marker::Sync for pmoconfig::Config
impl core::marker::Unpin for pmoconfig::Config
impl core::marker::UnsafeUnpin for pmoconfig::Config
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Config
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Config
impl<T, U> core::convert::Into<U> for pmoconfig::Config where U: core::convert::From<T>
pub fn pmoconfig::Config::into(self) -> U
impl<T, U> core::convert::TryFrom<U> for pmoconfig::Config where U: core::convert::Into<T>
pub type pmoconfig::Config::Error = never
pub fn pmoconfig::Config::try_from(U) -> core::result::Result<T, <T as core::convert::TryFrom<U>>::Error>
impl<T, U> core::convert::TryInto<U> for pmoconfig::Config where U: core::convert::TryFrom<T>
pub type pmoconfig::Config::Error = <U as core::convert::TryFrom<T>>::Error
pub fn pmoconfig::Config::try_into(self) -> core::result::Result<U, <U as core::convert::TryFrom<T>>::Error>
impl<T> alloc::borrow::ToOwned for pmoconfig::Config where T: core::clone::Clone
pub type pmoconfig::Config::Owned = T
pub fn pmoconfig::Config::clone_into(&self, &mut T)
pub fn pmoconfig::Config::to_owned(&self) -> T
impl<T> core::any::Any for pmoconfig::Config where T: 'static + ?core::marker::Sized
pub fn pmoconfig::Config::type_id(&self) -> core::any::TypeId
impl<T> core::borrow::Borrow<T> for pmoconfig::Config where T: ?core::marker::Sized
pub fn pmoconfig::Config::borrow(&self) -> &T
impl<T> core::borrow::BorrowMut<T> for pmoconfig::Config where T: ?core::marker::Sized
pub fn pmoconfig::Config::borrow_mut(&mut self) -> &mut T
impl<T> core::clone::CloneToUninit for pmoconfig::Config where T: core::clone::Clone
pub unsafe fn pmoconfig::Config::clone_to_uninit(&self, *mut u8)
impl<T> core::convert::From<T> for pmoconfig::Config
pub fn pmoconfig::Config::from(T) -> T
impl<T> tracing::instrument::Instrument for pmoconfig::Config
impl<T> tracing::instrument::WithSubscriber for pmoconfig::Config
impl<T> typenum::type_operators::Same for pmoconfig::Config
pub type pmoconfig::Config::Output = T
pub fn pmoconfig::get_config() -> alloc::sync::Arc<pmoconfig::Config>
pub fn pmoconfig::init(pmoconfig::AppSpec) -> pmoconfig::error::Result<alloc::sync::Arc<pmoconfig::Config>>
pub fn pmoconfig::init_in(pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<alloc::sync::Arc<pmoconfig::Config>>
pub type pmoconfig::Result<T> = core::result::Result<T, pmoconfig::error::PmoConfigError>
