pub struct CoreClientConfig {
pub resolver: Arc<dyn UriResolver>,
pub envs: Option<HashMap<Uri, Vec<u8>>>,
pub interfaces: Option<HashMap<Uri, Vec<Uri>>>,
}
Expand description
Configuration struct for implementors of Client
.
Can be built manually or through the ClientConfigBuilder
Fields§
§resolver: Arc<dyn UriResolver>
§envs: Option<HashMap<Uri, Vec<u8>>>
Environment variables configuration.
Should be a HashMap
of Uri
keys and msgpack buffer values
interfaces: Option<HashMap<Uri, Vec<Uri>>>
Interface implementations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoreClientConfig
impl !RefUnwindSafe for CoreClientConfig
impl Send for CoreClientConfig
impl Sync for CoreClientConfig
impl Unpin for CoreClientConfig
impl !UnwindSafe for CoreClientConfig
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