pub struct UnitCtrl { /* private fields */ }Implementations§
Source§impl UnitCtrl
impl UnitCtrl
pub fn auth(&self) -> &Option<AuthConfig>
pub fn timeout(&self) -> &Option<TimeoutConfig>
pub fn proxy(&self) -> &Option<ProxyConfig>
Source§impl UnitCtrl
impl UnitCtrl
pub fn new( auth: Option<AuthConfig>, timeout: Option<TimeoutConfig>, proxy: Option<ProxyConfig>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnitCtrl
impl RefUnwindSafe for UnitCtrl
impl Send for UnitCtrl
impl Sync for UnitCtrl
impl Unpin for UnitCtrl
impl UnsafeUnpin for UnitCtrl
impl UnwindSafe for UnitCtrl
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