Struct wick_config::config::HostConfig
source · pub struct HostConfig { /* private fields */ }Expand description
Configuration options for the host to use at startup.
Implementations§
source§impl HostConfig
impl HostConfig
pub fn allow_latest(&self) -> bool
pub fn set_allow_latest<T: Into<bool>>(&mut self, val: T) -> &mut Self
pub fn allow_latest_mut(&mut self) -> &mut bool
pub fn insecure_registries(&self) -> &[String]
pub fn set_insecure_registries<T: Into<String>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn insecure_registries_mut(&mut self) -> &mut Vec<String>
pub fn rpc(&self) -> Option<&HttpConfig>
pub fn set_rpc<T: Into<Option<HttpConfig>>>(&mut self, val: T) -> &mut Self
pub fn rpc_mut(&mut self) -> &mut Option<HttpConfig>
Trait Implementations§
source§impl Clone for HostConfig
impl Clone for HostConfig
source§fn clone(&self) -> HostConfig
fn clone(&self) -> HostConfig
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 Debug for HostConfig
impl Debug for HostConfig
source§impl Default for HostConfig
impl Default for HostConfig
source§fn default() -> HostConfig
fn default() -> HostConfig
Returns the “default value” for a type. Read more
source§impl Serialize for HostConfig
impl Serialize for HostConfig
source§impl TryFrom<HostConfig> for HostConfig
impl TryFrom<HostConfig> for HostConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<HostConfig> for HostConfig
impl TryFrom<HostConfig> for HostConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<HostConfig> for HostConfig
impl TryFrom<HostConfig> for HostConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !RefUnwindSafe for HostConfig
impl Send for HostConfig
impl Sync for HostConfig
impl Unpin for HostConfig
impl !UnwindSafe for HostConfig
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