Struct warg_loader::ClientConfig
source · pub struct ClientConfig { /* private fields */ }Expand description
Configuration for super::Client.
Implementations§
source§impl ClientConfig
impl ClientConfig
source§impl ClientConfig
impl ClientConfig
pub fn to_client(&self) -> Client
pub fn merge_config(&mut self, other: ClientConfig) -> &mut Self
pub fn default_registry(&mut self, registry: impl Into<String>) -> &mut Self
pub fn namespace_registry( &mut self, namespace: impl Into<String>, registry: impl Into<String> ) -> &mut Self
pub fn local_registry_config( &mut self, registry: impl Into<String>, root: impl Into<PathBuf> ) -> &mut Self
pub fn oci_registry_config( &mut self, registry: impl Into<String>, client_config: Option<OciClientConfig>, credentials: Option<BasicCredentials> ) -> Result<&mut Self, Error>
Trait Implementations§
source§impl Clone for ClientConfig
impl Clone for ClientConfig
source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ClientConfig
impl Default for ClientConfig
source§fn default() -> ClientConfig
fn default() -> ClientConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientConfig
impl !RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl !UnwindSafe for ClientConfig
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