spout-rs 0.1.3

Rust bindings for Spout2 — GPU texture sharing on Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Debug, Error)]
pub enum SpoutError {
    #[error("failed to create Spout sender")]
    SenderCreationFailed,
    #[error("failed to create Spout receiver")]
    ReceiverCreationFailed,
    #[error("failed to send texture")]
    TextureSendFailed,
    #[error("failed to receive texture")]
    TextureReceiveFailed,
    #[error("not connected to a sender")]
    NotConnected,
}