pub trait ByteSourceErr: Sealed {
// Required methods
fn is_eof(&self) -> bool;
fn is_would_block(&self) -> bool;
}
Expand description
Helper trait implemented for Error types of ByteSource
Required Methods§
Sourcefn is_would_block(&self) -> bool
fn is_would_block(&self) -> bool
Returns whether the error is “would block”, which means that reading can be successfull again later
Implementations on Foreign Types§
Source§impl ByteSourceErr for Error
Available on crate feature std
only.
impl ByteSourceErr for Error
Available on crate feature
std
only.Source§impl<E> ByteSourceErr for Error<E>
Available on crate feature embedded_hal
only.
impl<E> ByteSourceErr for Error<E>
Available on crate feature
embedded_hal
only.