pub struct NixProxy<R, W> {
pub read: NixRead<R>,
pub write: NixWrite<W>,
/* private fields */
}
Expand description
A proxy to the nix daemon.
This doesn’t currently do very much, it just inspects the protocol as it goes past. But it can be used to test our protocol implementation.
Fields§
§read: NixRead<R>
§write: NixWrite<W>
Implementations§
Auto Trait Implementations§
impl<R, W> Freeze for NixProxy<R, W>
impl<R, W> RefUnwindSafe for NixProxy<R, W>where
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<R, W> Send for NixProxy<R, W>
impl<R, W> Sync for NixProxy<R, W>
impl<R, W> Unpin for NixProxy<R, W>
impl<R, W> UnwindSafe for NixProxy<R, W>where
R: UnwindSafe,
W: 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