Struct mock_paver::MockPaverService
source · pub struct MockPaverService { /* private fields */ }
Implementations§
source§impl MockPaverService
impl MockPaverService
pub fn take_events(&self) -> Vec<PaverEvent>
sourcepub fn spawn_data_sink_service(self: &Arc<Self>) -> DataSinkProxy
pub fn spawn_data_sink_service(self: &Arc<Self>) -> DataSinkProxy
Spawns a new task to serve the data sink protocol.
sourcepub fn spawn_boot_manager_service(self: &Arc<Self>) -> BootManagerProxy
pub fn spawn_boot_manager_service(self: &Arc<Self>) -> BootManagerProxy
Spawns a new task to serve the boot manager protocol.
sourcepub fn spawn_paver_service(self: &Arc<Self>) -> PaverProxy
pub fn spawn_paver_service(self: &Arc<Self>) -> PaverProxy
Spawns a new task to serve the paver protocol.
pub async fn run_paver_service( self: Arc<Self>, stream: PaverRequestStream, ) -> Result<(), Error>
Auto Trait Implementations§
impl !Freeze for MockPaverService
impl !RefUnwindSafe for MockPaverService
impl Send for MockPaverService
impl Sync for MockPaverService
impl Unpin for MockPaverService
impl !UnwindSafe for MockPaverService
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