mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-09 06:18:31 -04:00
formatting
This commit is contained in:
parent
9ccd2e19f6
commit
88ce124544
1 changed files with 8 additions and 2 deletions
|
@ -55,8 +55,14 @@ impl VirtualIpDevice {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl smoltcp::phy::Device for VirtualIpDevice {
|
impl smoltcp::phy::Device for VirtualIpDevice {
|
||||||
type RxToken<'a> = RxToken where Self: 'a;
|
type RxToken<'a>
|
||||||
type TxToken<'a> = TxToken where Self: 'a;
|
= RxToken
|
||||||
|
where
|
||||||
|
Self: 'a;
|
||||||
|
type TxToken<'a>
|
||||||
|
= TxToken
|
||||||
|
where
|
||||||
|
Self: 'a;
|
||||||
|
|
||||||
fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> {
|
fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> {
|
||||||
let next = {
|
let next = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue