Add Clone impl to EthernetFrame

Closes: #163
Approved by: whitequark
v0.7.x
Andrew Cann 2018-02-15 16:45:21 +08:00 committed by Homu
parent ec4c48af6c
commit cf53106208
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ impl fmt::Display for Address {
}
/// A read/write wrapper around an Ethernet II frame buffer.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Frame<T: AsRef<[u8]>> {
buffer: T
}