Skip to main content

Module blocking_io

Module blocking_io 

Source

Re-exportsΒ§

use std::cell::RefMut; πŸ”’
use std::collections::BTreeMap; πŸ”’
use std::io; πŸ”’
use std::time::Duration; πŸ”’
use mio::event::Source; πŸ”’
use mio::Events; πŸ”’
use mio::Interest; πŸ”’
use mio::Poll; πŸ”’
use mio::Token; πŸ”’
use crate::shims::FdId; πŸ”’
use crate::shims::FileDescription; πŸ”’
use crate::shims::FileDescriptionRef; πŸ”’
use crate::shims::WeakFileDescriptionRef; πŸ”’
use crate::*; πŸ”’

StructsΒ§

BlockingIoManager
Manager for managing blocking host I/O in a non-blocking manner. We use [Poll] to poll for new I/O events from the OS for sources registered using this manager.
BlockingIoSource πŸ”’

EnumsΒ§

BlockingIoInterest
An I/O interest for a blocked thread. Note that all threads are always considered to be interested in β€œerror” events.

ConstantsΒ§

IO_EVENT_CAPACITY πŸ”’
Capacity of the event queue which can be polled at a time. Since we don’t expect many simultaneous blocking I/O events this value can be set rather low.

TraitsΒ§

EvalContextExt
SourceFileDescription
Trait for file descriptions that contain a mio [Source].