pub struct BoxedSyncAdapter {
pub source: Arc<dyn SyncSourceAdapter>,
pub target: Arc<dyn SyncTargetAdapter>,
}Expand description
Type-erased sync adapter pair produced by driver crates.
Fields§
§source: Arc<dyn SyncSourceAdapter>§target: Arc<dyn SyncTargetAdapter>Implementations§
Source§impl BoxedSyncAdapter
impl BoxedSyncAdapter
pub fn both<T>(adapter: T) -> Selfwhere
T: SyncSourceAdapter + SyncTargetAdapter + 'static,
Auto Trait Implementations§
impl !RefUnwindSafe for BoxedSyncAdapter
impl !UnwindSafe for BoxedSyncAdapter
impl Freeze for BoxedSyncAdapter
impl Send for BoxedSyncAdapter
impl Sync for BoxedSyncAdapter
impl Unpin for BoxedSyncAdapter
impl UnsafeUnpin for BoxedSyncAdapter
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