pub trait HasHeader {
// Required method
fn header(&self) -> Result<Header, Error>;
}
Expand description
A type that can return a Header
.
pub trait HasHeader {
// Required method
fn header(&self) -> Result<Header, Error>;
}
A type that can return a Header
.