[][src]Struct lc3::iostream_handler::IOStreamHandler

pub struct IOStreamHandler<R: Read, W: Write> { /* fields omitted */ }

A standard instruction handler with Read/Write streams for input/output.

Trait Implementations

impl<R: Read, W: Write> InstructionHandler for IOStreamHandler<R, W>[src]

type Context = (R, W)

Handler context.

type Err = IOError

Err return type after processing instructions. TODO: Convert Err into std::ops::Try once it is stabilized Read more

Auto Trait Implementations

impl<R, W> RefUnwindSafe for IOStreamHandler<R, W> where
    R: RefUnwindSafe,
    W: RefUnwindSafe

impl<R, W> Send for IOStreamHandler<R, W> where
    R: Send,
    W: Send

impl<R, W> Sync for IOStreamHandler<R, W> where
    R: Sync,
    W: Sync

impl<R, W> Unpin for IOStreamHandler<R, W> where
    R: Unpin,
    W: Unpin

impl<R, W> UnwindSafe for IOStreamHandler<R, W> where
    R: UnwindSafe,
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.