pub mod pmoconfig
pub mod pmoconfig::encryption
pub const pmoconfig::encryption::KEY_FILE: &str
pub fn pmoconfig::encryption::is_encrypted(&str) -> bool
pub mod pmoconfig::error
#[non_exhaustive] 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
pub pmoconfig::error::PmoConfigError::Io::context: alloc::string::String
pub pmoconfig::error::PmoConfigError::Io::source: 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::Yaml(serde_yaml_ng::error::Error)
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_ng::error::Error> for pmoconfig::error::PmoConfigError
pub fn pmoconfig::error::PmoConfigError::from(serde_yaml_ng::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
pub type pmoconfig::error::Result<T> = core::result::Result<T, pmoconfig::error::PmoConfigError>
pub enum pmoconfig::Apply
pub pmoconfig::Apply::Live
pub pmoconfig::Apply::RestartRequired
impl core::clone::Clone for pmoconfig::Apply
pub fn pmoconfig::Apply::clone(&self) -> pmoconfig::Apply
impl core::cmp::Eq for pmoconfig::Apply
impl core::cmp::PartialEq for pmoconfig::Apply
pub fn pmoconfig::Apply::eq(&self, &pmoconfig::Apply) -> bool
impl core::fmt::Debug for pmoconfig::Apply
pub fn pmoconfig::Apply::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Apply
impl core::marker::StructuralPartialEq for pmoconfig::Apply
impl serde_core::ser::Serialize for pmoconfig::Apply
pub fn pmoconfig::Apply::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
impl core::marker::Freeze for pmoconfig::Apply
impl core::marker::Send for pmoconfig::Apply
impl core::marker::Sync for pmoconfig::Apply
impl core::marker::Unpin for pmoconfig::Apply
impl core::marker::UnsafeUnpin for pmoconfig::Apply
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Apply
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Apply
pub enum pmoconfig::DefaultValue
pub pmoconfig::DefaultValue::Bool(bool)
pub pmoconfig::DefaultValue::Float(f64)
pub pmoconfig::DefaultValue::Integer(i64)
pub pmoconfig::DefaultValue::List(&'static [&'static str])
pub pmoconfig::DefaultValue::Text(&'static str)
pub pmoconfig::DefaultValue::Unset
impl pmoconfig::DefaultValue
pub fn pmoconfig::DefaultValue::to_value(self) -> core::option::Option<serde_yaml_ng::value::Value>
impl core::clone::Clone for pmoconfig::DefaultValue
pub fn pmoconfig::DefaultValue::clone(&self) -> pmoconfig::DefaultValue
impl core::cmp::PartialEq for pmoconfig::DefaultValue
pub fn pmoconfig::DefaultValue::eq(&self, &pmoconfig::DefaultValue) -> bool
impl core::fmt::Debug for pmoconfig::DefaultValue
pub fn pmoconfig::DefaultValue::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::DefaultValue
impl core::marker::StructuralPartialEq for pmoconfig::DefaultValue
impl serde_core::ser::Serialize for pmoconfig::DefaultValue
pub fn pmoconfig::DefaultValue::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
impl core::marker::Freeze for pmoconfig::DefaultValue
impl core::marker::Send for pmoconfig::DefaultValue
impl core::marker::Sync for pmoconfig::DefaultValue
impl core::marker::Unpin for pmoconfig::DefaultValue
impl core::marker::UnsafeUnpin for pmoconfig::DefaultValue
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::DefaultValue
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::DefaultValue
pub enum pmoconfig::Display
pub pmoconfig::Display::Text
pub pmoconfig::Display::UnixTime
impl core::clone::Clone for pmoconfig::Display
pub fn pmoconfig::Display::clone(&self) -> pmoconfig::Display
impl core::cmp::Eq for pmoconfig::Display
impl core::cmp::PartialEq for pmoconfig::Display
pub fn pmoconfig::Display::eq(&self, &pmoconfig::Display) -> bool
impl core::fmt::Debug for pmoconfig::Display
pub fn pmoconfig::Display::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Display
impl core::marker::StructuralPartialEq for pmoconfig::Display
impl serde_core::ser::Serialize for pmoconfig::Display
pub fn pmoconfig::Display::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
impl core::marker::Freeze for pmoconfig::Display
impl core::marker::Send for pmoconfig::Display
impl core::marker::Sync for pmoconfig::Display
impl core::marker::Unpin for pmoconfig::Display
impl core::marker::UnsafeUnpin for pmoconfig::Display
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Display
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Display
pub enum pmoconfig::Kind
pub pmoconfig::Kind::Bool
pub pmoconfig::Kind::Choice
pub pmoconfig::Kind::Choice::options: &'static [&'static str]
pub pmoconfig::Kind::Float
pub pmoconfig::Kind::Float::max: core::option::Option<f64>
pub pmoconfig::Kind::Float::min: core::option::Option<f64>
pub pmoconfig::Kind::Integer
pub pmoconfig::Kind::Integer::max: core::option::Option<i64>
pub pmoconfig::Kind::Integer::min: core::option::Option<i64>
pub pmoconfig::Kind::List
pub pmoconfig::Kind::Secret
pub pmoconfig::Kind::Text
impl pmoconfig::Kind
pub fn pmoconfig::Kind::check(&self, &serde_yaml_ng::value::Value) -> core::result::Result<(), alloc::string::String>
pub fn pmoconfig::Kind::coerce(&self, serde_yaml_ng::value::Value) -> serde_yaml_ng::value::Value
impl core::clone::Clone for pmoconfig::Kind
pub fn pmoconfig::Kind::clone(&self) -> pmoconfig::Kind
impl core::cmp::PartialEq for pmoconfig::Kind
pub fn pmoconfig::Kind::eq(&self, &pmoconfig::Kind) -> bool
impl core::fmt::Debug for pmoconfig::Kind
pub fn pmoconfig::Kind::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Kind
impl core::marker::StructuralPartialEq for pmoconfig::Kind
impl serde_core::ser::Serialize for pmoconfig::Kind
pub fn pmoconfig::Kind::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
impl core::marker::Freeze for pmoconfig::Kind
impl core::marker::Send for pmoconfig::Kind
impl core::marker::Sync for pmoconfig::Kind
impl core::marker::Unpin for pmoconfig::Kind
impl core::marker::UnsafeUnpin for pmoconfig::Kind
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Kind
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Kind
pub enum pmoconfig::Mode
pub pmoconfig::Mode::Editable
pub pmoconfig::Mode::Hidden
pub pmoconfig::Mode::ReadOnly
impl core::clone::Clone for pmoconfig::Mode
pub fn pmoconfig::Mode::clone(&self) -> pmoconfig::Mode
impl core::cmp::Eq for pmoconfig::Mode
impl core::cmp::PartialEq for pmoconfig::Mode
pub fn pmoconfig::Mode::eq(&self, &pmoconfig::Mode) -> bool
impl core::fmt::Debug for pmoconfig::Mode
pub fn pmoconfig::Mode::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Mode
impl core::marker::StructuralPartialEq for pmoconfig::Mode
impl serde_core::ser::Serialize for pmoconfig::Mode
pub fn pmoconfig::Mode::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
impl core::marker::Freeze for pmoconfig::Mode
impl core::marker::Send for pmoconfig::Mode
impl core::marker::Sync for pmoconfig::Mode
impl core::marker::Unpin for pmoconfig::Mode
impl core::marker::UnsafeUnpin for pmoconfig::Mode
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Mode
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Mode
pub enum pmoconfig::Source
pub pmoconfig::Source::Default
pub pmoconfig::Source::Env(alloc::string::String)
pub pmoconfig::Source::File
impl core::clone::Clone for pmoconfig::Source
pub fn pmoconfig::Source::clone(&self) -> pmoconfig::Source
impl core::cmp::Eq for pmoconfig::Source
impl core::cmp::PartialEq for pmoconfig::Source
pub fn pmoconfig::Source::eq(&self, &pmoconfig::Source) -> bool
impl core::fmt::Debug for pmoconfig::Source
pub fn pmoconfig::Source::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::Source
impl serde_core::ser::Serialize for pmoconfig::Source
pub fn pmoconfig::Source::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
impl core::marker::Freeze for pmoconfig::Source
impl core::marker::Send for pmoconfig::Source
impl core::marker::Sync for pmoconfig::Source
impl core::marker::Unpin for pmoconfig::Source
impl core::marker::UnsafeUnpin for pmoconfig::Source
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Source
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Source
pub enum pmoconfig::Widget
pub pmoconfig::Widget::Auto
pub pmoconfig::Widget::Checkbox
pub pmoconfig::Widget::Choice
pub pmoconfig::Widget::Number
pub pmoconfig::Widget::Secret
pub pmoconfig::Widget::Slider
pub pmoconfig::Widget::Text
pub pmoconfig::Widget::Toggle
pub pmoconfig::Widget::Toggle::off: &'static str
pub pmoconfig::Widget::Toggle::on: &'static str
impl core::clone::Clone for pmoconfig::Widget
pub fn pmoconfig::Widget::clone(&self) -> pmoconfig::Widget
impl core::cmp::Eq for pmoconfig::Widget
impl core::cmp::PartialEq for pmoconfig::Widget
pub fn pmoconfig::Widget::eq(&self, &pmoconfig::Widget) -> bool
impl core::fmt::Debug for pmoconfig::Widget
pub fn pmoconfig::Widget::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Widget
impl core::marker::StructuralPartialEq for pmoconfig::Widget
impl serde_core::ser::Serialize for pmoconfig::Widget
pub fn pmoconfig::Widget::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
impl core::marker::Freeze for pmoconfig::Widget
impl core::marker::Send for pmoconfig::Widget
impl core::marker::Sync for pmoconfig::Widget
impl core::marker::Unpin for pmoconfig::Widget
impl core::marker::UnsafeUnpin for pmoconfig::Widget
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Widget
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Widget
pub struct pmoconfig::Action
pub pmoconfig::Action::help: &'static str
pub pmoconfig::Action::id: &'static str
pub pmoconfig::Action::label: &'static str
impl pmoconfig::Action
pub fn pmoconfig::Action::help(self, &'static str) -> Self
pub fn pmoconfig::Action::new<F, Fut>(&'static str, &'static str, F) -> Self where F: core::ops::function::Fn(alloc::sync::Arc<pmoconfig::Config>) -> Fut + core::marker::Send + core::marker::Sync + 'static, Fut: core::future::future::Future<Output = pmoconfig::ActionOutcome> + core::marker::Send + 'static
pub async fn pmoconfig::Action::run(&self, alloc::sync::Arc<pmoconfig::Config>) -> pmoconfig::ActionOutcome
impl core::clone::Clone for pmoconfig::Action
pub fn pmoconfig::Action::clone(&self) -> pmoconfig::Action
impl core::cmp::Eq for pmoconfig::Action
impl core::cmp::PartialEq for pmoconfig::Action
pub fn pmoconfig::Action::eq(&self, &Self) -> bool
impl core::fmt::Debug for pmoconfig::Action
pub fn pmoconfig::Action::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl serde_core::ser::Serialize for pmoconfig::Action
pub fn pmoconfig::Action::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
impl core::marker::Freeze for pmoconfig::Action
impl core::marker::Send for pmoconfig::Action
impl core::marker::Sync for pmoconfig::Action
impl core::marker::Unpin for pmoconfig::Action
impl core::marker::UnsafeUnpin for pmoconfig::Action
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Action
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::Action
pub struct pmoconfig::ActionOutcome
pub pmoconfig::ActionOutcome::message: alloc::string::String
pub pmoconfig::ActionOutcome::ok: bool
impl pmoconfig::ActionOutcome
pub fn pmoconfig::ActionOutcome::failure(impl core::convert::Into<alloc::string::String>) -> Self
pub fn pmoconfig::ActionOutcome::success(impl core::convert::Into<alloc::string::String>) -> Self
impl core::clone::Clone for pmoconfig::ActionOutcome
pub fn pmoconfig::ActionOutcome::clone(&self) -> pmoconfig::ActionOutcome
impl core::cmp::Eq for pmoconfig::ActionOutcome
impl core::cmp::PartialEq for pmoconfig::ActionOutcome
pub fn pmoconfig::ActionOutcome::eq(&self, &pmoconfig::ActionOutcome) -> bool
impl core::fmt::Debug for pmoconfig::ActionOutcome
pub fn pmoconfig::ActionOutcome::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::ActionOutcome
impl core::marker::Freeze for pmoconfig::ActionOutcome
impl core::marker::Send for pmoconfig::ActionOutcome
impl core::marker::Sync for pmoconfig::ActionOutcome
impl core::marker::Unpin for pmoconfig::ActionOutcome
impl core::marker::UnsafeUnpin for pmoconfig::ActionOutcome
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::ActionOutcome
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::ActionOutcome
pub struct pmoconfig::AppSpec
impl pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::default_for(&self, &[&str]) -> core::option::Option<pmoconfig::DefaultValue>
pub const fn pmoconfig::AppSpec::defaults(&self) -> &'static [(&'static [&'static str], pmoconfig::DefaultValue)]
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) -> 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_defaults(self, &'static [(&'static [&'static str], pmoconfig::DefaultValue)]) -> Self
impl core::clone::Clone for pmoconfig::AppSpec
pub fn pmoconfig::AppSpec::clone(&self) -> 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
pub struct pmoconfig::Check
impl pmoconfig::Check
pub fn pmoconfig::Check::new<F>(F) -> Self where F: core::ops::function::Fn(&pmoconfig::Config) -> pmoconfig::error::Result<()> + core::marker::Send + core::marker::Sync + 'static
pub fn pmoconfig::Check::run(&self, &pmoconfig::Config) -> pmoconfig::error::Result<()>
impl core::clone::Clone for pmoconfig::Check
pub fn pmoconfig::Check::clone(&self) -> pmoconfig::Check
impl core::cmp::PartialEq for pmoconfig::Check
pub fn pmoconfig::Check::eq(&self, &Self) -> bool
impl core::fmt::Debug for pmoconfig::Check
pub fn pmoconfig::Check::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl serde_core::ser::Serialize for pmoconfig::Check
pub fn pmoconfig::Check::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
impl core::marker::Freeze for pmoconfig::Check
impl core::marker::Send for pmoconfig::Check
impl core::marker::Sync for pmoconfig::Check
impl core::marker::Unpin for pmoconfig::Check
impl core::marker::UnsafeUnpin for pmoconfig::Check
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Check
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::Check
pub struct pmoconfig::Collection
pub pmoconfig::Collection::creatable: alloc::vec::Vec<&'static str>
pub pmoconfig::Collection::edits: alloc::vec::Vec<pmoconfig::EditField>
pub pmoconfig::Collection::fields: alloc::vec::Vec<pmoconfig::Field>
pub pmoconfig::Collection::help: &'static str
pub pmoconfig::Collection::nested: alloc::vec::Vec<pmoconfig::Collection>
pub pmoconfig::Collection::pattern: &'static [&'static str]
pub pmoconfig::Collection::removable: bool
pub pmoconfig::Collection::title: &'static str
impl pmoconfig::Collection
pub fn pmoconfig::Collection::creatable(self, &[&'static str]) -> Self
pub fn pmoconfig::Collection::edit(self, pmoconfig::EditField) -> Self
pub fn pmoconfig::Collection::known<F>(self, F) -> Self where F: core::ops::function::Fn() -> alloc::vec::Vec<alloc::string::String> + core::marker::Send + core::marker::Sync + 'static
pub fn pmoconfig::Collection::levels(&self) -> usize
pub fn pmoconfig::Collection::nested(self, pmoconfig::Collection) -> Self
pub fn pmoconfig::Collection::path_of(&self, &[alloc::string::String]) -> alloc::vec::Vec<alloc::string::String>
impl pmoconfig::Collection
pub fn pmoconfig::Collection::field(self, pmoconfig::Field) -> Self
pub fn pmoconfig::Collection::help(self, &'static str) -> Self
pub fn pmoconfig::Collection::new(&'static [&'static str], &'static str) -> Self
pub fn pmoconfig::Collection::removable(self) -> Self
impl pmoconfig::Collection
pub fn pmoconfig::Collection::view(&self, &pmoconfig::Config) -> pmoconfig::error::Result<pmoconfig::CollectionView>
pub fn pmoconfig::Collection::view_at(&self, &pmoconfig::Config, u64) -> pmoconfig::error::Result<pmoconfig::CollectionView>
impl core::clone::Clone for pmoconfig::Collection
pub fn pmoconfig::Collection::clone(&self) -> pmoconfig::Collection
impl core::cmp::PartialEq for pmoconfig::Collection
pub fn pmoconfig::Collection::eq(&self, &Self) -> bool
impl core::fmt::Debug for pmoconfig::Collection
pub fn pmoconfig::Collection::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl serde_core::ser::Serialize for pmoconfig::Collection
pub fn pmoconfig::Collection::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
impl core::marker::Freeze for pmoconfig::Collection
impl core::marker::Send for pmoconfig::Collection
impl core::marker::Sync for pmoconfig::Collection
impl core::marker::Unpin for pmoconfig::Collection
impl core::marker::UnsafeUnpin for pmoconfig::Collection
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Collection
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::Collection
pub struct pmoconfig::CollectionView
pub pmoconfig::CollectionView::base: alloc::vec::Vec<alloc::string::String>
pub pmoconfig::CollectionView::columns: alloc::vec::Vec<&'static str>
pub pmoconfig::CollectionView::creatable: alloc::vec::Vec<pmoconfig::NewField>
pub pmoconfig::CollectionView::edit_columns: alloc::vec::Vec<pmoconfig::EditColumn>
pub pmoconfig::CollectionView::entries: alloc::vec::Vec<pmoconfig::EntryView>
pub pmoconfig::CollectionView::help: &'static str
pub pmoconfig::CollectionView::removable: bool
pub pmoconfig::CollectionView::title: &'static str
impl core::clone::Clone for pmoconfig::CollectionView
pub fn pmoconfig::CollectionView::clone(&self) -> pmoconfig::CollectionView
impl core::cmp::PartialEq for pmoconfig::CollectionView
pub fn pmoconfig::CollectionView::eq(&self, &pmoconfig::CollectionView) -> bool
impl core::fmt::Debug for pmoconfig::CollectionView
pub fn pmoconfig::CollectionView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::CollectionView
impl serde_core::ser::Serialize for pmoconfig::CollectionView
pub fn pmoconfig::CollectionView::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
impl core::marker::Freeze for pmoconfig::CollectionView
impl core::marker::Send for pmoconfig::CollectionView
impl core::marker::Sync for pmoconfig::CollectionView
impl core::marker::Unpin for pmoconfig::CollectionView
impl core::marker::UnsafeUnpin for pmoconfig::CollectionView
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::CollectionView
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::CollectionView
pub struct pmoconfig::Config
impl pmoconfig::Config
pub fn pmoconfig::Config::check_key(&self, &pmoconfig::Key) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::managed_dir_of(&self, &pmoconfig::Key) -> pmoconfig::error::Result<alloc::string::String>
pub fn pmoconfig::Config::read_bool(&self, &pmoconfig::Key) -> pmoconfig::error::Result<bool>
pub fn pmoconfig::Config::read_float(&self, &pmoconfig::Key) -> pmoconfig::error::Result<f64>
pub fn pmoconfig::Config::read_integer(&self, &pmoconfig::Key) -> pmoconfig::error::Result<i64>
pub fn pmoconfig::Config::read_list(&self, &pmoconfig::Key) -> pmoconfig::error::Result<alloc::vec::Vec<alloc::string::String>>
pub fn pmoconfig::Config::read_optional_text(&self, &pmoconfig::Key) -> pmoconfig::error::Result<core::option::Option<alloc::string::String>>
pub fn pmoconfig::Config::read_secret(&self, &pmoconfig::Key) -> pmoconfig::error::Result<core::option::Option<alloc::string::String>>
pub fn pmoconfig::Config::read_text(&self, &pmoconfig::Key) -> pmoconfig::error::Result<alloc::string::String>
pub fn pmoconfig::Config::read_value(&self, &pmoconfig::Key) -> pmoconfig::error::Result<serde_yaml_ng::value::Value>
pub fn pmoconfig::Config::write_float(&self, &pmoconfig::Key, f64) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::write_integer(&self, &pmoconfig::Key, i64) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::write_list(&self, &pmoconfig::Key, &[alloc::string::String]) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::write_text(&self, &pmoconfig::Key, &str) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::write_value(&self, &pmoconfig::Key, serde_yaml_ng::value::Value) -> pmoconfig::error::Result<()>
impl pmoconfig::Config
pub fn pmoconfig::Config::config_dir(&self) -> &str
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_ng::value::Value>
pub fn pmoconfig::Config::load(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<Self>
pub fn pmoconfig::Config::resolve_config_dir(&pmoconfig::AppSpec, &str) -> pmoconfig::error::Result<alloc::string::String>
pub fn pmoconfig::Config::save(&self) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::set_managed_dir(&self, &[&str], &str) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::set_value(&self, &[&str], serde_yaml_ng::value::Value) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::spec(&self) -> &pmoconfig::AppSpec
impl pmoconfig::Config
pub fn pmoconfig::Config::declare(&self, pmoconfig::ConfigKeys) -> core::result::Result<(), alloc::vec::Vec<pmoconfig::error::PmoConfigError>>
impl pmoconfig::Config
pub fn pmoconfig::Config::decrypt_password(&self, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::Config::encrypt_password(&self, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::Config::get_password(&self, &str) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
pub fn pmoconfig::Config::get_secret(&self, &[&str]) -> core::result::Result<alloc::string::String, pmoconfig::error::PmoConfigError>
impl pmoconfig::Config
pub fn pmoconfig::Config::entries(&self, &[&str]) -> pmoconfig::error::Result<alloc::vec::Vec<pmoconfig::Entry>>
impl pmoconfig::Config
pub fn pmoconfig::Config::get_bool(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<bool>>
pub fn pmoconfig::Config::get_bool_or_set(&self, &[&str], bool) -> pmoconfig::error::Result<bool>
pub fn pmoconfig::Config::get_integer(&self, &[&str]) -> pmoconfig::error::Result<core::option::Option<i64>>
pub fn pmoconfig::Config::get_integer_or_set(&self, &[&str], i64) -> pmoconfig::error::Result<i64>
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>>
pub fn pmoconfig::Config::get_string_or_set(&self, &[&str], &str) -> pmoconfig::error::Result<alloc::string::String>
impl pmoconfig::Config
pub fn pmoconfig::Config::set_values(&self, &[(&[&str], serde_yaml_ng::value::Value)]) -> pmoconfig::error::Result<()>
pub fn pmoconfig::Config::source_of(&self, &[&str], core::option::Option<&serde_yaml_ng::value::Value>) -> pmoconfig::Source
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
pub struct pmoconfig::ConfigKeys
impl pmoconfig::ConfigKeys
pub fn pmoconfig::ConfigKeys::is_empty(&self) -> bool
pub fn pmoconfig::ConfigKeys::iter(&self) -> impl core::iter::traits::iterator::Iterator<Item = &pmoconfig::Key>
pub fn pmoconfig::ConfigKeys::len(&self) -> usize
pub fn pmoconfig::ConfigKeys::new() -> Self
pub fn pmoconfig::ConfigKeys::validate(&self, &pmoconfig::Config) -> core::result::Result<(), alloc::vec::Vec<pmoconfig::error::PmoConfigError>>
pub fn pmoconfig::ConfigKeys::with(self, &[pmoconfig::Key]) -> Self
impl core::clone::Clone for pmoconfig::ConfigKeys
pub fn pmoconfig::ConfigKeys::clone(&self) -> pmoconfig::ConfigKeys
impl core::cmp::PartialEq for pmoconfig::ConfigKeys
pub fn pmoconfig::ConfigKeys::eq(&self, &pmoconfig::ConfigKeys) -> bool
impl core::default::Default for pmoconfig::ConfigKeys
pub fn pmoconfig::ConfigKeys::default() -> pmoconfig::ConfigKeys
impl core::fmt::Debug for pmoconfig::ConfigKeys
pub fn pmoconfig::ConfigKeys::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::ConfigKeys
impl core::marker::Freeze for pmoconfig::ConfigKeys
impl core::marker::Send for pmoconfig::ConfigKeys
impl core::marker::Sync for pmoconfig::ConfigKeys
impl core::marker::Unpin for pmoconfig::ConfigKeys
impl core::marker::UnsafeUnpin for pmoconfig::ConfigKeys
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::ConfigKeys
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::ConfigKeys
pub struct pmoconfig::ConfigPage
pub pmoconfig::ConfigPage::actions: alloc::vec::Vec<pmoconfig::Action>
pub pmoconfig::ConfigPage::checks: alloc::vec::Vec<pmoconfig::Check>
pub pmoconfig::ConfigPage::collections: alloc::vec::Vec<pmoconfig::Collection>
pub pmoconfig::ConfigPage::description: &'static str
pub pmoconfig::ConfigPage::id: &'static str
pub pmoconfig::ConfigPage::infos: alloc::vec::Vec<pmoconfig::Info>
pub pmoconfig::ConfigPage::path: &'static [&'static str]
pub pmoconfig::ConfigPage::settings: alloc::vec::Vec<pmoconfig::Setting>
pub pmoconfig::ConfigPage::title: &'static str
impl pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::action(self, pmoconfig::Action) -> Self
pub fn pmoconfig::ConfigPage::at(self, &'static [&'static str]) -> Self
pub fn pmoconfig::ConfigPage::check<F>(self, F) -> Self where F: core::ops::function::Fn(&pmoconfig::Config) -> pmoconfig::error::Result<()> + core::marker::Send + core::marker::Sync + 'static
pub fn pmoconfig::ConfigPage::collection(self, pmoconfig::Collection) -> Self
pub fn pmoconfig::ConfigPage::description(self, &'static str) -> Self
pub fn pmoconfig::ConfigPage::info(self, pmoconfig::Info) -> Self
pub fn pmoconfig::ConfigPage::new(&'static str, &'static str) -> Self
pub fn pmoconfig::ConfigPage::with(self, pmoconfig::Setting) -> Self
impl pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::view(&self, &pmoconfig::Config) -> pmoconfig::error::Result<pmoconfig::PageView>
impl core::clone::Clone for pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::clone(&self) -> pmoconfig::ConfigPage
impl core::cmp::PartialEq for pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::eq(&self, &pmoconfig::ConfigPage) -> bool
impl core::fmt::Debug for pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::ConfigPage
impl serde_core::ser::Serialize for pmoconfig::ConfigPage
pub fn pmoconfig::ConfigPage::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
impl core::marker::Freeze for pmoconfig::ConfigPage
impl core::marker::Send for pmoconfig::ConfigPage
impl core::marker::Sync for pmoconfig::ConfigPage
impl core::marker::Unpin for pmoconfig::ConfigPage
impl core::marker::UnsafeUnpin for pmoconfig::ConfigPage
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::ConfigPage
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::ConfigPage
pub struct pmoconfig::ConfigPages
impl pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::get(&self, &str) -> core::option::Option<&pmoconfig::ConfigPage>
pub fn pmoconfig::ConfigPages::iter(&self) -> impl core::iter::traits::iterator::Iterator<Item = &pmoconfig::ConfigPage>
pub fn pmoconfig::ConfigPages::new() -> Self
pub fn pmoconfig::ConfigPages::restart(self, pmoconfig::RestartHook) -> Self
pub fn pmoconfig::ConfigPages::restart_hook(&self) -> core::option::Option<&pmoconfig::RestartHook>
pub fn pmoconfig::ConfigPages::with(self, pmoconfig::ConfigPage) -> Self
impl core::clone::Clone for pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::clone(&self) -> pmoconfig::ConfigPages
impl core::cmp::PartialEq for pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::eq(&self, &pmoconfig::ConfigPages) -> bool
impl core::default::Default for pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::default() -> pmoconfig::ConfigPages
impl core::fmt::Debug for pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::ConfigPages
impl serde_core::ser::Serialize for pmoconfig::ConfigPages
pub fn pmoconfig::ConfigPages::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
impl core::marker::Freeze for pmoconfig::ConfigPages
impl core::marker::Send for pmoconfig::ConfigPages
impl core::marker::Sync for pmoconfig::ConfigPages
impl core::marker::Unpin for pmoconfig::ConfigPages
impl core::marker::UnsafeUnpin for pmoconfig::ConfigPages
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::ConfigPages
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::ConfigPages
pub struct pmoconfig::EditColumn
pub pmoconfig::EditColumn::kind: pmoconfig::Kind
pub pmoconfig::EditColumn::label: &'static str
pub pmoconfig::EditColumn::unit: &'static str
impl core::clone::Clone for pmoconfig::EditColumn
pub fn pmoconfig::EditColumn::clone(&self) -> pmoconfig::EditColumn
impl core::cmp::PartialEq for pmoconfig::EditColumn
pub fn pmoconfig::EditColumn::eq(&self, &pmoconfig::EditColumn) -> bool
impl core::fmt::Debug for pmoconfig::EditColumn
pub fn pmoconfig::EditColumn::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::EditColumn
impl serde_core::ser::Serialize for pmoconfig::EditColumn
pub fn pmoconfig::EditColumn::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
impl core::marker::Freeze for pmoconfig::EditColumn
impl core::marker::Send for pmoconfig::EditColumn
impl core::marker::Sync for pmoconfig::EditColumn
impl core::marker::Unpin for pmoconfig::EditColumn
impl core::marker::UnsafeUnpin for pmoconfig::EditColumn
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::EditColumn
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::EditColumn
pub struct pmoconfig::EditField
pub pmoconfig::EditField::key: pmoconfig::Key
pub pmoconfig::EditField::label: &'static str
pub pmoconfig::EditField::sub: &'static [&'static str]
impl pmoconfig::EditField
pub const fn pmoconfig::EditField::new(&'static [&'static str], pmoconfig::Key, &'static str) -> Self
impl core::clone::Clone for pmoconfig::EditField
pub fn pmoconfig::EditField::clone(&self) -> pmoconfig::EditField
impl core::cmp::PartialEq for pmoconfig::EditField
pub fn pmoconfig::EditField::eq(&self, &pmoconfig::EditField) -> bool
impl core::fmt::Debug for pmoconfig::EditField
pub fn pmoconfig::EditField::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::EditField
impl core::marker::StructuralPartialEq for pmoconfig::EditField
impl serde_core::ser::Serialize for pmoconfig::EditField
pub fn pmoconfig::EditField::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
impl core::marker::Freeze for pmoconfig::EditField
impl core::marker::Send for pmoconfig::EditField
impl core::marker::Sync for pmoconfig::EditField
impl core::marker::Unpin for pmoconfig::EditField
impl core::marker::UnsafeUnpin for pmoconfig::EditField
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::EditField
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::EditField
pub struct pmoconfig::Entry
pub pmoconfig::Entry::keys: alloc::vec::Vec<alloc::string::String>
pub pmoconfig::Entry::value: serde_yaml_ng::value::Value
impl core::clone::Clone for pmoconfig::Entry
pub fn pmoconfig::Entry::clone(&self) -> pmoconfig::Entry
impl core::cmp::PartialEq for pmoconfig::Entry
pub fn pmoconfig::Entry::eq(&self, &pmoconfig::Entry) -> bool
impl core::fmt::Debug for pmoconfig::Entry
pub fn pmoconfig::Entry::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::Entry
impl core::marker::Freeze for pmoconfig::Entry
impl core::marker::Send for pmoconfig::Entry
impl core::marker::Sync for pmoconfig::Entry
impl core::marker::Unpin for pmoconfig::Entry
impl core::marker::UnsafeUnpin for pmoconfig::Entry
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Entry
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Entry
pub struct pmoconfig::EntryView
pub pmoconfig::EntryView::cells: alloc::vec::Vec<alloc::string::String>
pub pmoconfig::EntryView::children: alloc::vec::Vec<pmoconfig::CollectionView>
pub pmoconfig::EntryView::id: alloc::string::String
pub pmoconfig::EntryView::inputs: alloc::vec::Vec<pmoconfig::InputView>
pub pmoconfig::EntryView::name: alloc::vec::Vec<alloc::string::String>
pub pmoconfig::EntryView::path: alloc::vec::Vec<alloc::string::String>
pub pmoconfig::EntryView::present: bool
impl core::clone::Clone for pmoconfig::EntryView
pub fn pmoconfig::EntryView::clone(&self) -> pmoconfig::EntryView
impl core::cmp::PartialEq for pmoconfig::EntryView
pub fn pmoconfig::EntryView::eq(&self, &pmoconfig::EntryView) -> bool
impl core::fmt::Debug for pmoconfig::EntryView
pub fn pmoconfig::EntryView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::EntryView
impl serde_core::ser::Serialize for pmoconfig::EntryView
pub fn pmoconfig::EntryView::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
impl core::marker::Freeze for pmoconfig::EntryView
impl core::marker::Send for pmoconfig::EntryView
impl core::marker::Sync for pmoconfig::EntryView
impl core::marker::Unpin for pmoconfig::EntryView
impl core::marker::UnsafeUnpin for pmoconfig::EntryView
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::EntryView
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::EntryView
pub struct pmoconfig::Field
pub pmoconfig::Field::display: pmoconfig::Display
pub pmoconfig::Field::key: &'static str
pub pmoconfig::Field::label: &'static str
impl pmoconfig::Field
pub const fn pmoconfig::Field::text(&'static str, &'static str) -> Self
pub const fn pmoconfig::Field::unix_time(&'static str, &'static str) -> Self
impl core::clone::Clone for pmoconfig::Field
pub fn pmoconfig::Field::clone(&self) -> pmoconfig::Field
impl core::cmp::Eq for pmoconfig::Field
impl core::cmp::PartialEq for pmoconfig::Field
pub fn pmoconfig::Field::eq(&self, &pmoconfig::Field) -> bool
impl core::fmt::Debug for pmoconfig::Field
pub fn pmoconfig::Field::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Field
impl core::marker::StructuralPartialEq for pmoconfig::Field
impl serde_core::ser::Serialize for pmoconfig::Field
pub fn pmoconfig::Field::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
impl core::marker::Freeze for pmoconfig::Field
impl core::marker::Send for pmoconfig::Field
impl core::marker::Sync for pmoconfig::Field
impl core::marker::Unpin for pmoconfig::Field
impl core::marker::UnsafeUnpin for pmoconfig::Field
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Field
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Field
pub struct pmoconfig::Info
pub pmoconfig::Info::group: core::option::Option<&'static str>
pub pmoconfig::Info::help: &'static str
pub pmoconfig::Info::label: &'static str
impl pmoconfig::Info
pub fn pmoconfig::Info::current(&self) -> core::option::Option<alloc::string::String>
pub fn pmoconfig::Info::group(self, &'static str) -> Self
pub fn pmoconfig::Info::help(self, &'static str) -> Self
pub fn pmoconfig::Info::new<F>(&'static str, F) -> Self where F: core::ops::function::Fn() -> core::option::Option<alloc::string::String> + core::marker::Send + core::marker::Sync + 'static
impl core::clone::Clone for pmoconfig::Info
pub fn pmoconfig::Info::clone(&self) -> pmoconfig::Info
impl core::cmp::PartialEq for pmoconfig::Info
pub fn pmoconfig::Info::eq(&self, &Self) -> bool
impl core::fmt::Debug for pmoconfig::Info
pub fn pmoconfig::Info::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl serde_core::ser::Serialize for pmoconfig::Info
pub fn pmoconfig::Info::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
impl core::marker::Freeze for pmoconfig::Info
impl core::marker::Send for pmoconfig::Info
impl core::marker::Sync for pmoconfig::Info
impl core::marker::Unpin for pmoconfig::Info
impl core::marker::UnsafeUnpin for pmoconfig::Info
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Info
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::Info
pub struct pmoconfig::InfoView
pub pmoconfig::InfoView::group: core::option::Option<&'static str>
pub pmoconfig::InfoView::help: &'static str
pub pmoconfig::InfoView::label: &'static str
pub pmoconfig::InfoView::value: core::option::Option<alloc::string::String>
impl core::clone::Clone for pmoconfig::InfoView
pub fn pmoconfig::InfoView::clone(&self) -> pmoconfig::InfoView
impl core::cmp::Eq for pmoconfig::InfoView
impl core::cmp::PartialEq for pmoconfig::InfoView
pub fn pmoconfig::InfoView::eq(&self, &pmoconfig::InfoView) -> bool
impl core::fmt::Debug for pmoconfig::InfoView
pub fn pmoconfig::InfoView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::InfoView
impl serde_core::ser::Serialize for pmoconfig::InfoView
pub fn pmoconfig::InfoView::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
impl core::marker::Freeze for pmoconfig::InfoView
impl core::marker::Send for pmoconfig::InfoView
impl core::marker::Sync for pmoconfig::InfoView
impl core::marker::Unpin for pmoconfig::InfoView
impl core::marker::UnsafeUnpin for pmoconfig::InfoView
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::InfoView
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::InfoView
pub struct pmoconfig::InputView
pub pmoconfig::InputView::inherited: core::option::Option<serde_json::value::Value>
pub pmoconfig::InputView::name: alloc::string::String
pub pmoconfig::InputView::value: core::option::Option<serde_json::value::Value>
impl core::clone::Clone for pmoconfig::InputView
pub fn pmoconfig::InputView::clone(&self) -> pmoconfig::InputView
impl core::cmp::Eq for pmoconfig::InputView
impl core::cmp::PartialEq for pmoconfig::InputView
pub fn pmoconfig::InputView::eq(&self, &pmoconfig::InputView) -> bool
impl core::fmt::Debug for pmoconfig::InputView
pub fn pmoconfig::InputView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::InputView
impl serde_core::ser::Serialize for pmoconfig::InputView
pub fn pmoconfig::InputView::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
impl core::marker::Freeze for pmoconfig::InputView
impl core::marker::Send for pmoconfig::InputView
impl core::marker::Sync for pmoconfig::InputView
impl core::marker::Unpin for pmoconfig::InputView
impl core::marker::UnsafeUnpin for pmoconfig::InputView
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::InputView
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::InputView
pub struct pmoconfig::Key
pub pmoconfig::Key::default: pmoconfig::DefaultValue
pub pmoconfig::Key::kind: pmoconfig::Kind
pub pmoconfig::Key::path: &'static [&'static str]
pub pmoconfig::Key::unit: &'static str
impl pmoconfig::Key
pub const fn pmoconfig::Key::bool(&'static [&'static str], bool) -> Self
pub const fn pmoconfig::Key::bounded(&'static [&'static str], i64, i64, i64) -> Self
pub const fn pmoconfig::Key::choice(&'static [&'static str], &'static str, &'static [&'static str]) -> Self
pub fn pmoconfig::Key::default_is_valid(&self) -> bool
pub fn pmoconfig::Key::dotted_path(&self) -> alloc::string::String
pub const fn pmoconfig::Key::float(&'static [&'static str], f64, core::option::Option<f64>, core::option::Option<f64>) -> Self
pub const fn pmoconfig::Key::integer(&'static [&'static str], i64, core::option::Option<i64>, core::option::Option<i64>) -> Self
pub const fn pmoconfig::Key::list(&'static [&'static str], &'static [&'static str]) -> Self
pub const fn pmoconfig::Key::new(&'static [&'static str], pmoconfig::Kind, pmoconfig::DefaultValue) -> Self
pub const fn pmoconfig::Key::optional_text(&'static [&'static str]) -> Self
pub const fn pmoconfig::Key::secret(&'static [&'static str]) -> Self
pub const fn pmoconfig::Key::text(&'static [&'static str], &'static str) -> Self
pub const fn pmoconfig::Key::unit(self, &'static str) -> Self
impl core::clone::Clone for pmoconfig::Key
pub fn pmoconfig::Key::clone(&self) -> pmoconfig::Key
impl core::cmp::PartialEq for pmoconfig::Key
pub fn pmoconfig::Key::eq(&self, &pmoconfig::Key) -> bool
impl core::fmt::Debug for pmoconfig::Key
pub fn pmoconfig::Key::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for pmoconfig::Key
impl core::marker::StructuralPartialEq for pmoconfig::Key
impl serde_core::ser::Serialize for pmoconfig::Key
pub fn pmoconfig::Key::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
impl core::marker::Freeze for pmoconfig::Key
impl core::marker::Send for pmoconfig::Key
impl core::marker::Sync for pmoconfig::Key
impl core::marker::Unpin for pmoconfig::Key
impl core::marker::UnsafeUnpin for pmoconfig::Key
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Key
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Key
pub struct pmoconfig::NewField
pub pmoconfig::NewField::label: &'static str
pub pmoconfig::NewField::name: alloc::string::String
impl core::clone::Clone for pmoconfig::NewField
pub fn pmoconfig::NewField::clone(&self) -> pmoconfig::NewField
impl core::cmp::Eq for pmoconfig::NewField
impl core::cmp::PartialEq for pmoconfig::NewField
pub fn pmoconfig::NewField::eq(&self, &pmoconfig::NewField) -> bool
impl core::fmt::Debug for pmoconfig::NewField
pub fn pmoconfig::NewField::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::NewField
impl serde_core::ser::Serialize for pmoconfig::NewField
pub fn pmoconfig::NewField::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
impl core::marker::Freeze for pmoconfig::NewField
impl core::marker::Send for pmoconfig::NewField
impl core::marker::Sync for pmoconfig::NewField
impl core::marker::Unpin for pmoconfig::NewField
impl core::marker::UnsafeUnpin for pmoconfig::NewField
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::NewField
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::NewField
pub struct pmoconfig::PageView
pub pmoconfig::PageView::actions: alloc::vec::Vec<pmoconfig::Action>
pub pmoconfig::PageView::collections: alloc::vec::Vec<pmoconfig::CollectionView>
pub pmoconfig::PageView::id: &'static str
pub pmoconfig::PageView::infos: alloc::vec::Vec<pmoconfig::InfoView>
pub pmoconfig::PageView::path: &'static [&'static str]
pub pmoconfig::PageView::settings: alloc::vec::Vec<pmoconfig::SettingView>
pub pmoconfig::PageView::title: &'static str
impl core::clone::Clone for pmoconfig::PageView
pub fn pmoconfig::PageView::clone(&self) -> pmoconfig::PageView
impl core::cmp::PartialEq for pmoconfig::PageView
pub fn pmoconfig::PageView::eq(&self, &pmoconfig::PageView) -> bool
impl core::fmt::Debug for pmoconfig::PageView
pub fn pmoconfig::PageView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::PageView
impl serde_core::ser::Serialize for pmoconfig::PageView
pub fn pmoconfig::PageView::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
impl core::marker::Freeze for pmoconfig::PageView
impl core::marker::Send for pmoconfig::PageView
impl core::marker::Sync for pmoconfig::PageView
impl core::marker::Unpin for pmoconfig::PageView
impl core::marker::UnsafeUnpin for pmoconfig::PageView
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::PageView
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::PageView
pub struct pmoconfig::RestartHook
pub pmoconfig::RestartHook::warning: &'static str
impl pmoconfig::RestartHook
pub fn pmoconfig::RestartHook::new(impl core::ops::function::Fn() + core::marker::Send + core::marker::Sync + 'static) -> Self
pub fn pmoconfig::RestartHook::trigger(&self)
pub fn pmoconfig::RestartHook::warning(self, &'static str) -> Self
impl core::clone::Clone for pmoconfig::RestartHook
pub fn pmoconfig::RestartHook::clone(&self) -> pmoconfig::RestartHook
impl core::cmp::Eq for pmoconfig::RestartHook
impl core::cmp::PartialEq for pmoconfig::RestartHook
pub fn pmoconfig::RestartHook::eq(&self, &Self) -> bool
impl core::fmt::Debug for pmoconfig::RestartHook
pub fn pmoconfig::RestartHook::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl serde_core::ser::Serialize for pmoconfig::RestartHook
pub fn pmoconfig::RestartHook::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
impl core::marker::Freeze for pmoconfig::RestartHook
impl core::marker::Send for pmoconfig::RestartHook
impl core::marker::Sync for pmoconfig::RestartHook
impl core::marker::Unpin for pmoconfig::RestartHook
impl core::marker::UnsafeUnpin for pmoconfig::RestartHook
impl !core::panic::unwind_safe::RefUnwindSafe for pmoconfig::RestartHook
impl !core::panic::unwind_safe::UnwindSafe for pmoconfig::RestartHook
pub struct pmoconfig::Setting
pub pmoconfig::Setting::apply: pmoconfig::Apply
pub pmoconfig::Setting::default: pmoconfig::DefaultValue
pub pmoconfig::Setting::group: core::option::Option<&'static str>
pub pmoconfig::Setting::help: &'static str
pub pmoconfig::Setting::kind: pmoconfig::Kind
pub pmoconfig::Setting::label: &'static str
pub pmoconfig::Setting::mode: pmoconfig::Mode
pub pmoconfig::Setting::path: &'static [&'static str]
pub pmoconfig::Setting::unit: &'static str
pub pmoconfig::Setting::widget: pmoconfig::Widget
impl pmoconfig::Setting
pub const fn pmoconfig::Setting::checkbox(self) -> Self
pub fn pmoconfig::Setting::dotted_path(&self) -> alloc::string::String
pub const fn pmoconfig::Setting::group(self, &'static str) -> Self
pub const fn pmoconfig::Setting::help(self, &'static str) -> Self
pub const fn pmoconfig::Setting::mode(self, pmoconfig::Mode) -> Self
pub const fn pmoconfig::Setting::new(pmoconfig::Key, &'static str) -> Self
pub fn pmoconfig::Setting::resolved_widget(&self) -> pmoconfig::Widget
pub const fn pmoconfig::Setting::restart_required(self) -> Self
pub const fn pmoconfig::Setting::slider(self) -> Self
pub const fn pmoconfig::Setting::words(self, &'static str, &'static str) -> Self
impl pmoconfig::Setting
pub fn pmoconfig::Setting::view(&self, &pmoconfig::Config) -> pmoconfig::error::Result<pmoconfig::SettingView>
impl core::clone::Clone for pmoconfig::Setting
pub fn pmoconfig::Setting::clone(&self) -> pmoconfig::Setting
impl core::cmp::PartialEq for pmoconfig::Setting
pub fn pmoconfig::Setting::eq(&self, &pmoconfig::Setting) -> bool
impl core::fmt::Debug for pmoconfig::Setting
pub fn pmoconfig::Setting::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::Setting
impl serde_core::ser::Serialize for pmoconfig::Setting
pub fn pmoconfig::Setting::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
impl core::marker::Freeze for pmoconfig::Setting
impl core::marker::Send for pmoconfig::Setting
impl core::marker::Sync for pmoconfig::Setting
impl core::marker::Unpin for pmoconfig::Setting
impl core::marker::UnsafeUnpin for pmoconfig::Setting
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::Setting
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::Setting
pub struct pmoconfig::SettingView
pub pmoconfig::SettingView::apply: pmoconfig::Apply
pub pmoconfig::SettingView::default: core::option::Option<serde_json::value::Value>
pub pmoconfig::SettingView::group: core::option::Option<&'static str>
pub pmoconfig::SettingView::help: &'static str
pub pmoconfig::SettingView::kind: pmoconfig::Kind
pub pmoconfig::SettingView::label: &'static str
pub pmoconfig::SettingView::mode: pmoconfig::Mode
pub pmoconfig::SettingView::modified: bool
pub pmoconfig::SettingView::path: alloc::string::String
pub pmoconfig::SettingView::set: bool
pub pmoconfig::SettingView::source: pmoconfig::Source
pub pmoconfig::SettingView::unit: &'static str
pub pmoconfig::SettingView::value: core::option::Option<serde_json::value::Value>
pub pmoconfig::SettingView::widget: pmoconfig::Widget
impl core::clone::Clone for pmoconfig::SettingView
pub fn pmoconfig::SettingView::clone(&self) -> pmoconfig::SettingView
impl core::cmp::PartialEq for pmoconfig::SettingView
pub fn pmoconfig::SettingView::eq(&self, &pmoconfig::SettingView) -> bool
impl core::fmt::Debug for pmoconfig::SettingView
pub fn pmoconfig::SettingView::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::StructuralPartialEq for pmoconfig::SettingView
impl serde_core::ser::Serialize for pmoconfig::SettingView
pub fn pmoconfig::SettingView::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
impl core::marker::Freeze for pmoconfig::SettingView
impl core::marker::Send for pmoconfig::SettingView
impl core::marker::Sync for pmoconfig::SettingView
impl core::marker::Unpin for pmoconfig::SettingView
impl core::marker::UnsafeUnpin for pmoconfig::SettingView
impl core::panic::unwind_safe::RefUnwindSafe for pmoconfig::SettingView
impl core::panic::unwind_safe::UnwindSafe for pmoconfig::SettingView
pub const pmoconfig::WILDCARD: &str
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 fn pmoconfig::try_get_config() -> core::option::Option<alloc::sync::Arc<pmoconfig::Config>>
pub type pmoconfig::Result<T> = core::result::Result<T, pmoconfig::error::PmoConfigError>
