pub struct InterruptResult {
pub bytes_read: usize,
pub errors: Option<UartErrors>,
}Expand description
This struct is used to return the default IRQ handler result to the user
Fields§
§bytes_read: usize§errors: Option<UartErrors>Trait Implementations§
Source§impl Debug for InterruptResult
impl Debug for InterruptResult
Source§impl Default for InterruptResult
impl Default for InterruptResult
Source§fn default() -> InterruptResult
fn default() -> InterruptResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InterruptResult
impl RefUnwindSafe for InterruptResult
impl Send for InterruptResult
impl Sync for InterruptResult
impl Unpin for InterruptResult
impl UnwindSafe for InterruptResult
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