pub struct GateKeeperMut<'reg> { /* private fields */ }
Expand description
Provides control and status for the gate keeper in each filter unit implemented.
§Usage constraints
Closing the gate can cause accesses on the command channels to stall and can inadvertently cause a bus deadlock. Use this with caution.
Implementations§
Source§impl<'reg> GateKeeperMut<'reg>
impl<'reg> GateKeeperMut<'reg>
Sourcepub fn status(&self) -> GateKeeperStatus
pub fn status(&self) -> GateKeeperStatus
See GateKeeper::status.
Sourcepub fn request(&mut self, status: GateKeeperStatus)
pub fn request(&mut self, status: GateKeeperStatus)
Request the gate at index
to be set to status
. The request will take effect once all
outstanding accesses through the filter unit are complete.
Trait Implementations§
Auto Trait Implementations§
impl<'reg> Freeze for GateKeeperMut<'reg>
impl<'reg> RefUnwindSafe for GateKeeperMut<'reg>
impl<'reg> Send for GateKeeperMut<'reg>
impl<'reg> !Sync for GateKeeperMut<'reg>
impl<'reg> Unpin for GateKeeperMut<'reg>
impl<'reg> UnwindSafe for GateKeeperMut<'reg>
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