pub struct StorageSettings {
pub budget: StorageBudget,
pub request: StorageRequestSettings,
pub response: StorageResponseSettings,
pub filesystem: StorageFilesystemSettings,
}Fields§
§budget: StorageBudget§request: StorageRequestSettings§response: StorageResponseSettings§filesystem: StorageFilesystemSettingsImplementations§
Source§impl StorageSettings
impl StorageSettings
pub fn validate(&self) -> Result<()>
pub fn max_batch_bytes(&self) -> NonZeroUsize
Trait Implementations§
Source§impl Clone for StorageSettings
impl Clone for StorageSettings
Source§impl Debug for StorageSettings
impl Debug for StorageSettings
Source§impl<'de> Deserialize<'de> for StorageSettings
impl<'de> Deserialize<'de> for StorageSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StorageSettings
impl RefUnwindSafe for StorageSettings
impl Send for StorageSettings
impl Sync for StorageSettings
impl Unpin for StorageSettings
impl UnsafeUnpin for StorageSettings
impl UnwindSafe for StorageSettings
Blanket Implementations§
impl<T> Allocation for T
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