pub struct C5StoreRoot { /* private fields */ }Trait Implementations§
Source§impl C5Store for C5StoreRoot
impl C5Store for C5StoreRoot
fn get(&self, key_path: &str) -> Option<C5DataValue>
fn get_into<Val>(&self, key_path: &str) -> Result<Val, ConfigError>
fn get_into_struct<Val>(&self, key_path: &str) -> Result<Val, ConfigError>where
Val: DeserializeOwned,
fn get_ref(&self, key_path: &str) -> Option<C5StoreDataValueRef<'_>>
fn exists(&self, key_path: &str) -> bool
fn path_exists(&self, key_path: &str) -> bool
fn subscribe(&self, key_path: &str, listener: Box<ChangeListener>)
fn subscribe_detailed( &self, key_path: &str, listener: Box<DetailedChangeListener>, )
fn branch(&self, key_path: &str) -> C5StoreBranch
fn key_paths_with_prefix(&self, key_path: Option<&str>) -> Vec<String>
fn current_key_path(&self) -> &str
fn get_source(&self, key_path: &str) -> Option<ConfigSource>
Source§impl Clone for C5StoreRoot
impl Clone for C5StoreRoot
Source§fn clone(&self) -> C5StoreRoot
fn clone(&self) -> C5StoreRoot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for C5StoreRoot
impl !RefUnwindSafe for C5StoreRoot
impl Send for C5StoreRoot
impl Sync for C5StoreRoot
impl Unpin for C5StoreRoot
impl !UnwindSafe for C5StoreRoot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more