bunny_api/
edge.rs

1//! Bindings to the [Edge Storage API](https://docs.bunny.net/reference/storage-api).
2
3mod storage_zone;
4mod upload;
5pub use storage_zone::StorageZone;
6pub use upload::{upload_file_by_path, upload_file_data, Error as UploadError};
7
8/// Errors that may occur while using the Edge Storage API.
9#[derive(Debug, thiserror::Error)]
10pub enum Error {
11    /// Error while using the file upload API.
12    #[error(transparent)]
13    Upload(#[from] UploadError),
14}
15