Struct std::rt::rtio::LocalIoExperimental
[-]
[+]
[src]
pub struct LocalIo<'a> {
// some fields omitted
}Methods
impl<'a> LocalIo<'a>
fn borrow() -> Option<LocalIo<'a>>
Returns the local I/O: either the local scheduler's I/O services or the native I/O services.
fn maybe_raise<T>(f: |&mut IoFactory| -> Result<T, IoError>) -> Result<T, IoError>
fn new(io: &'a mut IoFactory) -> LocalIo<'a>
fn get(&'a mut self) -> &'a mut IoFactory
Returns the underlying I/O factory as a trait reference.