Struct rust_uart::mock::MockStream [−][src]
pub struct MockStream { pub write: WriteStruct, pub read: ReadStruct, }
Mock object for simulating a UART data stream
Fields
write: WriteStruct
Information to use when write() calls are made
read: ReadStruct
Information to use when read() calls are made
Trait Implementations
impl Default for MockStream
[src]
impl Default for MockStream
impl Stream for MockStream
[src]
impl Stream for MockStream
Auto Trait Implementations
impl Send for MockStream
impl Send for MockStream
impl !Sync for MockStream
impl !Sync for MockStream