pub struct BufferSink {
pub bytes: Vec<u8>,
}Expand description
Test/simulator sink collecting raw stdout bytes.
Fields§
§bytes: Vec<u8>Implementations§
Source§impl BufferSink
impl BufferSink
pub fn new() -> BufferSink
Trait Implementations§
Source§impl Default for BufferSink
impl Default for BufferSink
Source§impl OutputSink for BufferSink
impl OutputSink for BufferSink
fn write_line(&mut self, line: &str)
Auto Trait Implementations§
impl Freeze for BufferSink
impl RefUnwindSafe for BufferSink
impl Send for BufferSink
impl Sync for BufferSink
impl Unpin for BufferSink
impl UnsafeUnpin for BufferSink
impl UnwindSafe for BufferSink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more