FrameTransport

Trait FrameTransport 

Source
pub trait FrameTransport: Send + Sync {
    // Required method
    fn send_frame(&self, bytes: &[u8]) -> Result<(), String>;
}
Expand description

Minimal transport for sending serialized ALPINE frames (UDP/QUIC left to the caller).

Required Methods§

Source

fn send_frame(&self, bytes: &[u8]) -> Result<(), String>

Sends the provided serialized frame.

Implementors§