pub struct MockPaverServiceBuilder { /* private fields */ }
Implementations§
Source§impl MockPaverServiceBuilder
impl MockPaverServiceBuilder
pub fn new() -> Self
Sourcepub fn insert_hook(self, hook: impl Hook + Send + 'static) -> Self
pub fn insert_hook(self, hook: impl Hook + Send + 'static) -> Self
Adds a Hook. Hooks are called in order of insertion.
pub fn event_hook<F>(self, event_hook: F) -> Self
pub fn active_config(self, active_config: Configuration) -> Self
pub fn current_config(self, current_config: Configuration) -> Self
pub fn boot_manager_close_with_epitaph(self, status: Status) -> Self
pub fn build(self) -> MockPaverService
Auto Trait Implementations§
impl Freeze for MockPaverServiceBuilder
impl !RefUnwindSafe for MockPaverServiceBuilder
impl Send for MockPaverServiceBuilder
impl Sync for MockPaverServiceBuilder
impl Unpin for MockPaverServiceBuilder
impl !UnwindSafe for MockPaverServiceBuilder
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