pub struct DodbConfig { /* private fields */ }Implementations§
Source§impl DodbConfig
impl DodbConfig
pub fn new( server_addr: SocketAddr, server_name: impl Into<String>, root_certificates: Vec<Vec<u8>>, ) -> Self
pub fn from_env() -> Result<Self>
pub fn with_bind_addr(self, bind_addr: SocketAddr) -> Self
pub fn with_protocol_limits(self, protocol_limits: ProtocolLimits) -> Self
Trait Implementations§
Source§impl Clone for DodbConfig
impl Clone for DodbConfig
Auto Trait Implementations§
impl Freeze for DodbConfig
impl RefUnwindSafe for DodbConfig
impl Send for DodbConfig
impl Sync for DodbConfig
impl Unpin for DodbConfig
impl UnsafeUnpin for DodbConfig
impl UnwindSafe for DodbConfig
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