pub struct UartEmergencyAccess<'a, E = dyn UartEmergencyTx>where
E: ?Sized,{ /* private fields */ }Expand description
Proof that fatal output permanently owns one UART register block.
Dropping this value does not return ownership to normal endpoints. A later emergency formatting call may obtain another access proof from the same gate, while all normal transactions remain excluded until shutdown.
Implementations§
Source§impl<E> UartEmergencyAccess<'_, E>where
E: UartEmergencyTx + ?Sized,
impl<E> UartEmergencyAccess<'_, E>where
E: UartEmergencyTx + ?Sized,
Trait Implementations§
Source§impl<E> Drop for UartEmergencyAccess<'_, E>where
E: ?Sized,
impl<E> Drop for UartEmergencyAccess<'_, E>where
E: ?Sized,
Auto Trait Implementations§
impl<'a, E = dyn UartEmergencyTx> !Send for UartEmergencyAccess<'a, E>
impl<'a, E = dyn UartEmergencyTx> !Sync for UartEmergencyAccess<'a, E>
impl<'a, E> Freeze for UartEmergencyAccess<'a, E>
impl<'a, E> RefUnwindSafe for UartEmergencyAccess<'a, E>
impl<'a, E> Unpin for UartEmergencyAccess<'a, E>
impl<'a, E> UnsafeUnpin for UartEmergencyAccess<'a, E>
impl<'a, E> UnwindSafe for UartEmergencyAccess<'a, E>
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