Struct nydus_api::http::RegistryOssConfig
source · [−]pub struct RegistryOssConfig {
pub proxy: ProxyConfig,
pub skip_verify: bool,
pub timeout: u64,
pub connect_timeout: u64,
pub retry_limit: u8,
}Expand description
Generic configuration for storage backends.
Fields
proxy: ProxyConfigEnable HTTP proxy for the read request.
skip_verify: boolSkip SSL certificate validation for HTTPS scheme.
timeout: u64Drop the read request once http request timeout, in seconds.
connect_timeout: u64Drop the read request once http connection timeout, in seconds.
retry_limit: u8Retry count when read request failed.
Trait Implementations
sourceimpl Clone for RegistryOssConfig
impl Clone for RegistryOssConfig
sourcefn clone(&self) -> RegistryOssConfig
fn clone(&self) -> RegistryOssConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RegistryOssConfig
impl Debug for RegistryOssConfig
sourceimpl Default for RegistryOssConfig
impl Default for RegistryOssConfig
sourceimpl<'de> Deserialize<'de> for RegistryOssConfig where
RegistryOssConfig: Default,
impl<'de> Deserialize<'de> for RegistryOssConfig where
RegistryOssConfig: Default,
sourcefn 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
sourceimpl Serialize for RegistryOssConfig
impl Serialize for RegistryOssConfig
Auto Trait Implementations
impl RefUnwindSafe for RegistryOssConfig
impl Send for RegistryOssConfig
impl Sync for RegistryOssConfig
impl Unpin for RegistryOssConfig
impl UnwindSafe for RegistryOssConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more