pub struct Host<CTX>where
CTX: RpdoContext,{ /* private fields */ }Expand description
A default host implementation
Implementations§
Source§impl<CTX> Host<CTX>where
CTX: RpdoContext,
impl<CTX> Host<CTX>where
CTX: RpdoContext,
Sourcepub fn with_custom_command_handler(
self,
custom_command_handler: Arc<dyn CustomCommandHandler>,
) -> Self
pub fn with_custom_command_handler( self, custom_command_handler: Arc<dyn CustomCommandHandler>, ) -> Self
Set a custom command handler
Trait Implementations§
Auto Trait Implementations§
impl<CTX> Freeze for Host<CTX>
impl<CTX> !RefUnwindSafe for Host<CTX>
impl<CTX> Send for Host<CTX>
impl<CTX> Sync for Host<CTX>
impl<CTX> Unpin for Host<CTX>
impl<CTX> !UnwindSafe for Host<CTX>
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