Trait tungstenite::util::NonBlockingError

source ·
pub trait NonBlockingError: Sized {
    // Required method
    fn into_non_blocking(self) -> Option<Self>;
}
Expand description

Non-blocking IO handling.

Required Methods§

source

fn into_non_blocking(self) -> Option<Self>

Convert WouldBlock to None and don’t touch other errors.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NonBlockingError for Error

Implementors§

source§

impl NonBlockingError for tungstenite::error::Error