pub struct Locked<MODE> { /* private fields */ }Expand description
Mode: configuration frozen until the next chip reset, wrapping the mode it was locked in.
Reading and writing the pin still work exactly as they did before locking; only reconfiguration is barred.
Auto Trait Implementations§
impl<MODE> Freeze for Locked<MODE>where
PhantomData<MODE>: Freeze,
impl<MODE> RefUnwindSafe for Locked<MODE>where
PhantomData<MODE>: RefUnwindSafe,
impl<MODE> Send for Locked<MODE>where
PhantomData<MODE>: Send,
impl<MODE> Sync for Locked<MODE>where
PhantomData<MODE>: Sync,
impl<MODE> Unpin for Locked<MODE>where
PhantomData<MODE>: Unpin,
impl<MODE> UnsafeUnpin for Locked<MODE>where
PhantomData<MODE>: UnsafeUnpin,
impl<MODE> UnwindSafe for Locked<MODE>where
PhantomData<MODE>: UnwindSafe,
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