Struct fluvio::config::ConfigFile [−][src]
pub struct ConfigFile { /* fields omitted */ }
Implementations
impl ConfigFile
[src]
impl ConfigFile
[src]pub fn default_config() -> Result<Self, IoError>
[src]
pub fn default_config() -> Result<Self, IoError>
[src]create default profile
pub fn load_default_or_new() -> Result<Self, IoError>
[src]
pub fn load_default_or_new() -> Result<Self, IoError>
[src]load from default location if not found, create new one
pub fn load(optional_path: Option<String>) -> Result<Self, FluvioError>
[src]
pub fn load(optional_path: Option<String>) -> Result<Self, FluvioError>
[src]try to load from default locations
pub fn mut_config(&mut self) -> &mut Config
[src]
pub fn mut_config(&mut self) -> &mut Config
[src]Return a mutable reference to the internal Config
pub fn save(&self) -> Result<(), FluvioError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnwindSafe for ConfigFile
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> AsyncConnector for T where
T: Send + Sync,
[src]
T: Send + Sync,