pub struct GcsConfig {
pub endpoint: String,
pub timeout: Duration,
pub max_retries: u32,
pub max_object_bytes: u64,
pub resumable_threshold: usize,
}Expand description
Settings.
Fields§
§endpoint: StringAPI endpoint (https://storage.googleapis.com, or an emulator).
timeout: DurationPer-request timeout.
max_retries: u32Retries after the first attempt for transient failures.
max_object_bytes: u64Largest body accepted from a read.
resumable_threshold: usizeBodies at or above this size use a resumable upload session.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GcsConfig
impl RefUnwindSafe for GcsConfig
impl Send for GcsConfig
impl Sync for GcsConfig
impl Unpin for GcsConfig
impl UnsafeUnpin for GcsConfig
impl UnwindSafe for GcsConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more