pub struct RuntimeDaemon { /* private fields */ }Expand description
Runtime daemon for auto-creating mocks from 404s
Implementations§
Source§impl RuntimeDaemon
impl RuntimeDaemon
Sourcepub fn new(config: RuntimeDaemonConfig) -> Self
pub fn new(config: RuntimeDaemonConfig) -> Self
Create a new runtime daemon with the given configuration
Sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Check if the daemon is enabled
Sourcepub fn config(&self) -> &RuntimeDaemonConfig
pub fn config(&self) -> &RuntimeDaemonConfig
Get the configuration
Auto Trait Implementations§
impl Freeze for RuntimeDaemon
impl RefUnwindSafe for RuntimeDaemon
impl Send for RuntimeDaemon
impl Sync for RuntimeDaemon
impl Unpin for RuntimeDaemon
impl UnwindSafe for RuntimeDaemon
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