mirror of
https://github.com/aramperes/onetun.git
synced 2025-09-08 07:18:32 -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 {
|
||||
type RxToken<'a> = RxToken where Self: 'a;
|
||||
type TxToken<'a> = TxToken where Self: 'a;
|
||||
type RxToken<'a>
|
||||
= RxToken
|
||||
where
|
||||
Self: 'a;
|
||||
type TxToken<'a>
|
||||
= TxToken
|
||||
where
|
||||
Self: 'a;
|
||||
|
||||
fn receive(&mut self, _timestamp: Instant) -> Option<(Self::RxToken<'_>, Self::TxToken<'_>)> {
|
||||
let next = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue