pub struct SimpleProxy<PF, TS> { /* private fields */ }
Implementations§
Source§impl<PF, TS> SimpleProxy<PF, TS>
impl<PF, TS> SimpleProxy<PF, TS>
Sourcepub fn new(factory: PF, server: TS) -> SimpleProxy<PF, TS>
pub fn new(factory: PF, server: TS) -> SimpleProxy<PF, TS>
Create a new SimpleProxy
that will replay messages over the given
server transports using the given protocols.
Trait Implementations§
Source§impl<E, PF, TS> Proxy<E> for SimpleProxy<PF, TS>
impl<E, PF, TS> Proxy<E> for SimpleProxy<PF, TS>
Auto Trait Implementations§
impl<PF, TS> Freeze for SimpleProxy<PF, TS>
impl<PF, TS> RefUnwindSafe for SimpleProxy<PF, TS>where
PF: RefUnwindSafe,
TS: RefUnwindSafe,
impl<PF, TS> Send for SimpleProxy<PF, TS>
impl<PF, TS> Sync for SimpleProxy<PF, TS>
impl<PF, TS> Unpin for SimpleProxy<PF, TS>
impl<PF, TS> UnwindSafe for SimpleProxy<PF, TS>where
PF: UnwindSafe,
TS: UnwindSafe,
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