Searched defs:NonBlocking (Results 1 – 2 of 2) sorted by relevance
126 pub struct NonBlocking { struct141 impl NonBlocking { argument149 pub fn new<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in new()157 ) -> (NonBlocking, WorkerGuard) { in create()211 pub fn finish<T: Write + Send + Sync + 'static>(self, writer: T) -> (NonBlocking, WorkerGuard) { in finish()225 impl std::io::Write for NonBlocking { implementation251 impl<'a> MakeWriter<'a> for NonBlocking { implementation393 fn write_non_blocking(non_blocking: &mut NonBlocking, msg: &[u8]) { in write_non_blocking()
181 pub fn non_blocking<T: Write + Send + Sync + 'static>(writer: T) -> (NonBlocking, WorkerGuard) { in non_blocking()