pub struct UrapSecondary<'a, 'c, IO, const REGCNT: usize>{ /* private fields */ }Expand description
Secondary server struct, allows you to poll and process incoming packets.
Implementations§
Source§impl<'a, 'c, IO, const REGCNT: usize> UrapSecondary<'a, 'c, IO, REGCNT>
impl<'a, 'c, IO, const REGCNT: usize> UrapSecondary<'a, 'c, IO, REGCNT>
Sourcepub fn new(io: &'a mut IO, writeprotect: &'c [bool; REGCNT]) -> Self
pub fn new(io: &'a mut IO, writeprotect: &'c [bool; REGCNT]) -> Self
Create a new secondary server with IO and a slice with boolean values corresponding to the write protect status of individual registers.
Auto Trait Implementations§
impl<'a, 'c, IO, const REGCNT: usize> Freeze for UrapSecondary<'a, 'c, IO, REGCNT>
impl<'a, 'c, IO, const REGCNT: usize> RefUnwindSafe for UrapSecondary<'a, 'c, IO, REGCNT>where
IO: RefUnwindSafe,
impl<'a, 'c, IO, const REGCNT: usize> Send for UrapSecondary<'a, 'c, IO, REGCNT>where
IO: Send,
impl<'a, 'c, IO, const REGCNT: usize> Sync for UrapSecondary<'a, 'c, IO, REGCNT>where
IO: Sync,
impl<'a, 'c, IO, const REGCNT: usize> Unpin for UrapSecondary<'a, 'c, IO, REGCNT>
impl<'a, 'c, IO, const REGCNT: usize> !UnwindSafe for UrapSecondary<'a, 'c, IO, REGCNT>
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