Skip to main content

SyncSource

Trait SyncSource 

Source
pub trait SyncSource {
    // Required method
    fn fetch(&self) -> Result<Vec<u8>, FetchError>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl SyncSource for SingleFileSource

Source§

impl SyncSource for HttpSource

Available on crate feature reqwest only.