pub enum ChunkSize {
LAN,
WAN,
Custom(u16),
}
Expand description
ChunkSize is a value type representing the size of a message-chunk
It provides default sizes for WANs and LANs
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkSize
impl RefUnwindSafe for ChunkSize
impl Send for ChunkSize
impl Sync for ChunkSize
impl Unpin for ChunkSize
impl UnwindSafe for ChunkSize
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