Struct arceos_api::io::AxPollState
source · pub struct AxPollState {
pub readable: bool,
pub writable: bool,
}
Expand description
I/O poll results.
Fields§
§readable: bool
Object can be read now.
writable: bool
Object can be writen now.
Trait Implementations§
impl Copy for PollState
Auto Trait Implementations§
impl RefUnwindSafe for PollState
impl Send for PollState
impl Sync for PollState
impl Unpin for PollState
impl UnwindSafe for PollState
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