Enum embassy_sync::pipe::TryReadError
source · pub enum TryReadError {
Empty,
}
Expand description
Error returned by try_read
.
Variants§
Empty
No data could be read from the pipe because it is currently empty, and reading would require blocking.
Trait Implementations§
source§impl Clone for TryReadError
impl Clone for TryReadError
source§fn clone(&self) -> TryReadError
fn clone(&self) -> TryReadError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TryReadError
impl Debug for TryReadError
source§impl PartialEq for TryReadError
impl PartialEq for TryReadError
source§fn eq(&self, other: &TryReadError) -> bool
fn eq(&self, other: &TryReadError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TryReadError
impl Eq for TryReadError
impl StructuralEq for TryReadError
impl StructuralPartialEq for TryReadError
Auto Trait Implementations§
impl RefUnwindSafe for TryReadError
impl Send for TryReadError
impl Sync for TryReadError
impl Unpin for TryReadError
impl UnwindSafe for TryReadError
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