VncTransport
trait · ferroui-headless-vnc · v0.5.0
trait VncTransport: Send + Sync
A duplex byte stream a VNC server session runs over.
Members
read
fn read(self: &Self, buffer: &mut [u8]) -> io::Result<usize>
Reads into buffer; 0 at the end of the stream.
write_all
fn write_all(self: &Self, buffer: &[u8]) -> io::Result<()>
Writes all of buffer.
close
fn close(self: &Self)
Closes the stream in both directions: a read that waits returns.
Trait implementations
Availability
Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.