pub struct DecantConfig {
pub injection: InjectionConfig,
pub guest: GuestInjectionConfig,
}Fields§
§injection: InjectionConfig§guest: GuestInjectionConfigImplementations§
Source§impl DecantConfig
impl DecantConfig
pub fn from_toml_str(s: &str) -> Result<Self, InjectError>
pub fn load(path: &Path) -> Result<Self, InjectError>
Trait Implementations§
Source§impl Clone for DecantConfig
impl Clone for DecantConfig
Source§fn clone(&self) -> DecantConfig
fn clone(&self) -> DecantConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecantConfig
impl Debug for DecantConfig
Source§impl Default for DecantConfig
impl Default for DecantConfig
Source§fn default() -> DecantConfig
fn default() -> DecantConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecantConfig
impl<'de> Deserialize<'de> for DecantConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DecantConfig
impl RefUnwindSafe for DecantConfig
impl Send for DecantConfig
impl Sync for DecantConfig
impl Unpin for DecantConfig
impl UnsafeUnpin for DecantConfig
impl UnwindSafe for DecantConfig
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