pub struct RegistryConfig {
pub storage: StorageBackend,
pub port: Option<u16>,
pub host: String,
}Expand description
Configuration for the registry server.
Fields§
§storage: StorageBackendStorage backend to use.
port: Option<u16>Port to bind to (None for random port).
host: StringHost address to bind to.
Implementations§
Source§impl RegistryConfig
impl RegistryConfig
Trait Implementations§
Source§impl Clone for RegistryConfig
impl Clone for RegistryConfig
Source§impl Debug for RegistryConfig
impl Debug for RegistryConfig
Auto Trait Implementations§
impl Freeze for RegistryConfig
impl RefUnwindSafe for RegistryConfig
impl Send for RegistryConfig
impl Sync for RegistryConfig
impl Unpin for RegistryConfig
impl UnsafeUnpin for RegistryConfig
impl UnwindSafe for RegistryConfig
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