Struct marine::ConfigContext
source · pub struct ConfigContext {
pub base_path: Option<PathBuf>,
}
Fields§
§base_path: Option<PathBuf>
Implementations§
source§impl ConfigContext
impl ConfigContext
pub fn wrapped<T>(&self, data: T) -> WithContext<'_, T>
Trait Implementations§
source§impl Clone for ConfigContext
impl Clone for ConfigContext
source§fn clone(&self) -> ConfigContext
fn clone(&self) -> ConfigContext
Returns a copy 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 moresource§impl Debug for ConfigContext
impl Debug for ConfigContext
source§impl Default for ConfigContext
impl Default for ConfigContext
source§fn default() -> ConfigContext
fn default() -> ConfigContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigContext
impl RefUnwindSafe for ConfigContext
impl Send for ConfigContext
impl Sync for ConfigContext
impl Unpin for ConfigContext
impl UnwindSafe for ConfigContext
Blanket Implementations§
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
source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more