pub(crate) struct LoopbackSection {
pub(crate) enabled: bool,
pub(crate) id: String,
}Expand description
Loopback adapter settings.
Off when the section is omitted. A present [loopback] table turns
it on unless enabled = false.
Fields§
§enabled: boolWhether to spawn the adapter. true when the section is present.
id: StringEngine adapter id. Defaults to "loopback".
Trait Implementations§
Source§impl Debug for LoopbackSection
impl Debug for LoopbackSection
Source§impl Default for LoopbackSection
impl Default for LoopbackSection
Source§impl<'de> Deserialize<'de> for LoopbackSection
impl<'de> Deserialize<'de> for LoopbackSection
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 LoopbackSection
impl RefUnwindSafe for LoopbackSection
impl Send for LoopbackSection
impl Sync for LoopbackSection
impl Unpin for LoopbackSection
impl UnwindSafe for LoopbackSection
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