pub trait Protocol: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn open(
&self,
url: &str,
flags: ProtocolFlags,
) -> Result<Box<dyn IoContext>>;
}Expand description
Protocol trait for URL-based I/O.