mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: run cargo fmt
This commit is contained in:
parent
210550c719
commit
07b959c9d4
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ pub struct ProtocolResponsePeer<I> {
|
|||
pub port: Port,
|
||||
}
|
||||
|
||||
impl <I: Ip> ProtocolResponsePeer<I> {
|
||||
impl<I: Ip> ProtocolResponsePeer<I> {
|
||||
#[inline(always)]
|
||||
fn from_peer(peer: &Peer<I>) -> Self {
|
||||
Self {
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ use std::vec::Drain;
|
|||
use crossbeam_channel::Receiver;
|
||||
use mio::net::UdpSocket;
|
||||
use mio::{Events, Interest, Poll, Token};
|
||||
use rand::prelude::{SeedableRng, StdRng, Rng};
|
||||
use rand::prelude::{Rng, SeedableRng, StdRng};
|
||||
|
||||
use aquatic_common::access_list::create_access_list_cache;
|
||||
use aquatic_common::ValidUntil;
|
||||
use aquatic_common::access_list::AccessListCache;
|
||||
use aquatic_common::AHashIndexMap;
|
||||
use aquatic_common::ValidUntil;
|
||||
use aquatic_udp_protocol::*;
|
||||
use socket2::{Domain, Protocol, Socket, Type};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue