1 2 3 4 5 6 7 8 9 10 11 12 13
use fluvio_future::zero_copy::SendFileError; use std::io::Error as IoError; use thiserror::Error; #[derive(Error, Debug)] pub enum FlvSocketError { #[error(transparent)] IoError(#[from] IoError), #[error("Socket closed")] SocketClosed, #[error("Zero-copy IO error")] SendFileError(#[from] SendFileError), }