Struct shared_bus::proxy::BusProxy
source · Expand description
A proxy type that can be used instead of an actual bus peripheral.
BusProxy
implements all bus traits and can thus be used in place of the
actual bus peripheral.
BusProxies
are created by calling BusManager::acquire
Trait Implementations
Auto Trait Implementations
impl<'a, M, T> RefUnwindSafe for BusProxy<'a, M, T>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, M, T> Send for BusProxy<'a, M, T>where
M: Sync,
T: Send,
impl<'a, M, T> Sync for BusProxy<'a, M, T>where
M: Sync,
T: Sync,
impl<'a, M, T> Unpin for BusProxy<'a, M, T>where
T: Unpin,
impl<'a, M, T> UnwindSafe for BusProxy<'a, M, T>where
M: RefUnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more