wvb 0.2.0-next.68e19d2

Offline-first web resources delivery system for webview mounted frameworks/platforms
Documentation
1
2
3
4
5
6
7
8
pub trait Writer<T> {
  fn write(&mut self, data: &T) -> crate::Result<usize>;
}

#[cfg(feature = "async")]
pub trait AsyncWriter<T> {
  fn write(&mut self, data: &T) -> impl std::future::Future<Output = crate::Result<usize>>;
}