Struct nrfxlib::PollResult [−][src]
pub struct PollResult(_);
Expand description
The ways a socket can respond to a poll.
Implementations
impl PollResult
[src]
impl PollResult
[src]pub fn is_readable(&self) -> bool
[src]
pub fn is_readable(&self) -> bool
[src]Is polled socket now readable?
pub fn is_writable(&self) -> bool
[src]
pub fn is_writable(&self) -> bool
[src]Is polled socket now writeable?
pub fn is_errored(&self) -> bool
[src]
pub fn is_errored(&self) -> bool
[src]Is polled socket now in an error state?
pub fn was_not_open(&self) -> bool
[src]
pub fn was_not_open(&self) -> bool
[src]Was polled socket closed before we polled it?
Trait Implementations
impl Clone for PollResult
[src]
impl Clone for PollResult
[src]fn clone(&self) -> PollResult
[src]
fn clone(&self) -> PollResult
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PollResult
[src]
impl Debug for PollResult
[src]impl Default for PollResult
[src]
impl Default for PollResult
[src]fn default() -> PollResult
[src]
fn default() -> PollResult
[src]Returns the “default value” for a type. Read more
impl Copy for PollResult
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self