pub struct UdtlConfig {
pub redundancy_depth: u8,
pub max_buffer: u16,
pub max_datagram: u16,
}Expand description
Configuration for UDPTL transport.
Fields§
§redundancy_depth: u8Maximum number of redundant packets to include (FEC depth).
max_buffer: u16Maximum buffer size for received out-of-order packets.
max_datagram: u16Maximum datagram size in bytes.
Trait Implementations§
Source§impl Clone for UdtlConfig
impl Clone for UdtlConfig
Source§fn clone(&self) -> UdtlConfig
fn clone(&self) -> UdtlConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UdtlConfig
impl Debug for UdtlConfig
Auto Trait Implementations§
impl Freeze for UdtlConfig
impl RefUnwindSafe for UdtlConfig
impl Send for UdtlConfig
impl Sync for UdtlConfig
impl Unpin for UdtlConfig
impl UnsafeUnpin for UdtlConfig
impl UnwindSafe for UdtlConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more