FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VncTransport

    trait · ferroui-headless-vnc · v0.5.0

    trait VncTransport: Send + Sync
    

    A duplex byte stream a VNC server session runs over.

    View source

    Members

    read

    fn read(self: &Self, buffer: &mut [u8]) -> io::Result<usize>
    

    Reads into buffer; 0 at the end of the stream.

    Source

    write_all

    fn write_all(self: &Self, buffer: &[u8]) -> io::Result<()>
    

    Writes all of buffer.

    Source

    close

    fn close(self: &Self)
    

    Closes the stream in both directions: a read that waits returns.

    Source

    Trait implementations

    Availability

    Extracted for x86_64-unknown-linux-gnu, aarch64-apple-darwin. Cargo features are listed in the crate index.