pub struct Fragmentation {
pub max_datagram_size: usize,
pub fragment_size: u16,
}Expand description
How a writer fragments large changes (8.4.14.1).
Fields§
§max_datagram_size: usizeThe largest message the transport carries. A change whose DATA would not fit in a message of this size goes as DATA_FRAG.
fragment_size: u16The size of each fragment, the same for every reader. A
DATA_FRAG holds as many fragments as fit in the writer’s
max_message_size (at least one).
Implementations§
Trait Implementations§
Source§impl Clone for Fragmentation
impl Clone for Fragmentation
impl Copy for Fragmentation
Source§impl Debug for Fragmentation
impl Debug for Fragmentation
impl Eq for Fragmentation
Source§impl PartialEq for Fragmentation
impl PartialEq for Fragmentation
impl StructuralPartialEq for Fragmentation
Auto Trait Implementations§
impl Forget for Fragmentation
impl Freeze for Fragmentation
impl Move for Fragmentation
impl RefUnwindSafe for Fragmentation
impl Send for Fragmentation
impl Sync for Fragmentation
impl Unpin for Fragmentation
impl UnsafeUnpin for Fragmentation
impl UnwindSafe for Fragmentation
Blanket Implementations§
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