1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
mod behavior; mod handler; mod shared; pub use behavior::{Behavior, Controller}; pub use handler::Handler; use volans_swarm::StreamProtocol; #[derive(Debug)] #[non_exhaustive] pub enum StreamError { Unsupported(StreamProtocol), Io(std::io::Error), }