Skip to main content

FetchBytes

Trait FetchBytes 

Source
pub trait FetchBytes: AsAny {
    // Required methods
    fn fetch_bytes(&self) -> FailFuture<'_, ByteNode>;
    fn fetch_data(&self) -> FailFuture<'_, Vec<u8>>;

    // Provided methods
    fn fetch_bytes_local(&self) -> Result<Option<ByteNode>> { ... }
    fn fetch_data_local(&self) -> Option<Vec<u8>> { ... }
    fn as_inner(&self) -> Option<&dyn Any> { ... }
    fn as_resolve(&self) -> Option<&Arc<dyn Resolve>> { ... }
    fn try_unwrap_resolve(self: Arc<Self>) -> Option<Arc<dyn Resolve>> { ... }
}

Required Methods§

Provided Methods§

Implementors§