[−][src]Struct dbcrossbarlib::config::Configuration
Our dbcrossbar.toml
configuration file.
Implementations
impl Configuration
[src]
pub fn try_default() -> Result<Self>
[src]
Load our default configuration.
pub fn write(&self) -> Result<()>
[src]
Write the configuration file to disk.
pub fn temporaries(&self) -> Result<Vec<String>>
[src]
Return a list of places to store temporary data.
pub fn add_to_string_array(&mut self, key: &Key, value: &str) -> Result<()>
[src]
Add a new value to an array of strings, if it's not already there.
pub fn remove_from_string_array(&mut self, key: &Key, value: &str) -> Result<()>
[src]
Remove a value from an array of strings, if present. If more than one copy is present it will remove all.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,