pub trait Transport {
    // Required method
    fn fetch(&self, url: &str) -> Result<String, TransportError>;
}
Expand description

represents a transport on which to connect to the drand network. This crate provides an HTTP transport out of the box, which can be created by calling new_http_transport()

Required Methods§

Implementors§