Enum tiny_web::sys::worker::StreamError
source · pub enum StreamError {
Closed,
Error(Error),
Buffer,
Timeout,
}Expand description
A network stream errors
Variants§
Closed
Stream are closed
Error(Error)
Error reading from stream
Buffer
Buffer is small
Timeout
Read timeout
Auto Trait Implementations§
impl !RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl !UnwindSafe for StreamError
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