pub struct ProxySwitcher { /* private fields */ }Implementations§
Source§impl ProxySwitcher
impl ProxySwitcher
pub fn start(&self) -> bool
pub fn set_start(&self, value: bool)
pub fn stop(&self) -> bool
pub fn set_stop(&self, value: bool)
pub fn restart(&self) -> bool
pub fn set_restart(&self, value: bool)
pub fn reload_unit(&self) -> bool
pub fn set_reload_unit(&self, value: bool)
pub fn clean(&self) -> bool
pub fn set_clean(&self, value: bool)
pub fn freeze(&self) -> bool
pub fn set_freeze(&self, value: bool)
pub fn thaw(&self) -> bool
pub fn set_thaw(&self, value: bool)
pub fn enable_unit_file(&self) -> bool
pub fn set_enable_unit_file(&self, value: bool)
pub fn disable_unit_file(&self) -> bool
pub fn set_disable_unit_file(&self, value: bool)
pub fn save_file(&self) -> bool
pub fn set_save_file(&self, value: bool)
pub fn create_dropin(&self) -> bool
pub fn set_create_dropin(&self, value: bool)
pub fn start_at_start_up(&self) -> bool
pub fn set_start_at_startup(&self, value: bool)
pub fn stop_at_close(&self) -> bool
pub fn set_stop_at_close(&self, value: bool)
pub fn revert_unit_file(&self) -> bool
pub fn set_revert_unit_file(&self, value: bool)
pub fn reload(&self) -> bool
pub fn set_reload(&self, value: bool)
pub fn uses_any_proxy(&self) -> bool
Trait Implementations§
Source§impl Default for ProxySwitcher
impl Default for ProxySwitcher
Source§fn default() -> ProxySwitcher
fn default() -> ProxySwitcher
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ProxySwitcher
impl RefUnwindSafe for ProxySwitcher
impl Send for ProxySwitcher
impl Sync for ProxySwitcher
impl Unpin for ProxySwitcher
impl UnsafeUnpin for ProxySwitcher
impl UnwindSafe for ProxySwitcher
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