pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn adresse(&self) -> String
pub fn security(&self) -> SecurityProtocol
pub fn request_size(&self) -> usize
pub fn initialize() -> Config
pub fn with_request_size(&mut self, size: &usize) -> &mut Self
pub fn with_security(&mut self, security: &SecurityProtocol) -> &mut Self
pub fn with_adresse(&mut self, ip: &str, port: &i32) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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