Struct backroll_transport_udp::UdpConnectionConfig [−][src]
pub struct UdpConnectionConfig { pub addr: SocketAddr, pub max_queue_size: Option<usize>, }
Fields
addr: SocketAddr
max_queue_size: Option<usize>
Implementations
impl UdpConnectionConfig
[src]
impl UdpConnectionConfig
[src]pub fn unbounded(addr: SocketAddr) -> UdpConnectionConfig
[src]
pub fn bounded(addr: SocketAddr, limit: usize) -> UdpConnectionConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for UdpConnectionConfig
impl Send for UdpConnectionConfig
impl Sync for UdpConnectionConfig
impl Unpin for UdpConnectionConfig
impl UnwindSafe for UdpConnectionConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]