pub trait FetchBytes: AsAny {
// Required methods
fn fetch_bytes(&self) -> FailFuture<'_, ByteNode>;
fn fetch_data(&self) -> FailFuture<'_, Vec<u8>>;
// Provided method
fn as_inner(&self) -> Option<&dyn Any> { ... }
}pub trait FetchBytes: AsAny {
// Required methods
fn fetch_bytes(&self) -> FailFuture<'_, ByteNode>;
fn fetch_data(&self) -> FailFuture<'_, Vec<u8>>;
// Provided method
fn as_inner(&self) -> Option<&dyn Any> { ... }
}