Skip to content

Commit

Permalink
Document the loopback.
Browse files Browse the repository at this point in the history
whitequark committed Jul 14, 2017
1 parent 15ce667 commit c5fc8f7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/phy/mod.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
//! Access to networking hardware.
//!
//! The `phy` module deals with the *network devices*. It provides a trait
//! for transmitting and receiving frames, [Device](trait.Device.html),
//! as well as an implementations of that trait that uses the host OS,
//! [RawSocket](struct.RawSocket.html) and [TapInterface](struct.TapInterface.html).
//! for transmitting and receiving frames, [Device](trait.Device.html)
//! and implementations of it:
//!
//! It also provides the _middleware interfaces_ [Tracer](struct.Tracer.html) and
//! [FaultInjector](struct.FaultInjector.html), to facilitate debugging.
//! * the [_loopback_](struct.Loopback.html), for zero dependency testing;
//! * _middleware_ [Tracer](struct.Tracer.html) and
//! [FaultInjector](struct.FaultInjector.html), to facilitate debugging;
//! * _adapters_ [RawSocket](struct.RawSocket.html) and
//! [TapInterface](struct.TapInterface.html), to transmit and receive frames
//! on the host OS.
//!
// https://github.com/rust-lang/rust/issues/38740
//! <h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>

0 comments on commit c5fc8f7

Please sign in to comment.