pub struct Network {
pub proxy: String,
pub no_proxy: String,
pub insecure_tls: bool,
}Expand description
The network as Escouade’s settings say it (Réglages › Réseau), given to a plugin of the first hand when it starts:
ESCOUADE_PROXY (empty: none), ESCOUADE_NO_PROXY, ESCOUADE_INSECURE_TLS (1: the certificates are not
checked, for a proxy that inspects them without its root in the system’s store). A module has no environment and needs
none of it: the host keeps its network.
Fields§
§proxy: String§no_proxy: String§insecure_tls: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnsafeUnpin for Network
impl UnwindSafe for Network
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