Skip to content

Commit c5fc8f7

Browse files
committedJul 14, 2017
Document the loopback.
1 parent 15ce667 commit c5fc8f7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed
 

‎src/phy/mod.rs

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
//! Access to networking hardware.
22
//!
33
//! The `phy` module deals with the *network devices*. It provides a trait
4-
//! for transmitting and receiving frames, [Device](trait.Device.html),
5-
//! as well as an implementations of that trait that uses the host OS,
6-
//! [RawSocket](struct.RawSocket.html) and [TapInterface](struct.TapInterface.html).
4+
//! for transmitting and receiving frames, [Device](trait.Device.html)
5+
//! and implementations of it:
76
//!
8-
//! It also provides the _middleware interfaces_ [Tracer](struct.Tracer.html) and
9-
//! [FaultInjector](struct.FaultInjector.html), to facilitate debugging.
7+
//! * the [_loopback_](struct.Loopback.html), for zero dependency testing;
8+
//! * _middleware_ [Tracer](struct.Tracer.html) and
9+
//! [FaultInjector](struct.FaultInjector.html), to facilitate debugging;
10+
//! * _adapters_ [RawSocket](struct.RawSocket.html) and
11+
//! [TapInterface](struct.TapInterface.html), to transmit and receive frames
12+
//! on the host OS.
1013
//!
1114
// https://github.com/rust-lang/rust/issues/38740
1215
//! <h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>

0 commit comments

Comments
 (0)