Struct shadowsocks_service::local::net::UdpAssociationManager [−][src]
pub struct UdpAssociationManager<W> where
W: UdpInboundWrite + Clone + Send + Sync + Unpin + 'static, { /* fields omitted */ }
Expand description
UDP association manager
Implementations
impl<W> UdpAssociationManager<W> where
W: UdpInboundWrite + Clone + Send + Sync + Unpin + 'static,
impl<W> UdpAssociationManager<W> where
W: UdpInboundWrite + Clone + Send + Sync + Unpin + 'static,
pub fn new(
context: Arc<ServiceContext>,
respond_writer: W,
time_to_live: Option<Duration>,
capacity: Option<usize>,
balancer: PingBalancer
) -> UdpAssociationManager<W>
pub fn new(
context: Arc<ServiceContext>,
respond_writer: W,
time_to_live: Option<Duration>,
capacity: Option<usize>,
balancer: PingBalancer
) -> UdpAssociationManager<W>
Create a new UdpAssociationManager
Trait Implementations
Auto Trait Implementations
impl<W> !RefUnwindSafe for UdpAssociationManager<W>
impl<W> Send for UdpAssociationManager<W>
impl<W> Sync for UdpAssociationManager<W>
impl<W> Unpin for UdpAssociationManager<W>
impl<W> !UnwindSafe for UdpAssociationManager<W>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more