pub struct ProxyManager { /* private fields */ }
Implementations§
Source§impl ProxyManager
impl ProxyManager
pub fn add_active_proxy(&self, proxy: &Device)
pub fn remove_active_proxy(&self, proxy: &DeviceId) -> bool
pub fn active_proxies(&self) -> Vec<DeviceId> ⓘ
pub fn add_passive_proxy(&self, proxy: &Device)
pub fn remove_passive_proxy(&self, proxy: &DeviceId) -> bool
pub fn passive_proxies(&self) -> Vec<DeviceId> ⓘ
pub fn add_dump_proxy(&self, proxy: &Device)
pub fn remove_dump_proxy(&self, proxy: &DeviceId) -> bool
pub fn dump_proxies(&self) -> Vec<DeviceId> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProxyManager
impl !RefUnwindSafe for ProxyManager
impl Send for ProxyManager
impl Sync for ProxyManager
impl Unpin for ProxyManager
impl !UnwindSafe for ProxyManager
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more