pub struct Frag {
pub id: String,
pub i: u32,
pub n: u32,
pub ct: Vec<u8>,
}Expand description
The fragmentation envelope the real client uses to split a frame too large for one wire line, on either carrier. The working client sends this, and no spec text describes it.
Fields§
§id: StringThe id every fragment of one split frame shares.
i: u32This fragment’s 0-based index.
n: u32The total number of fragments in the set.
ct: Vec<u8>This fragment’s slice of the encoded payload.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Frag
impl<'de> Deserialize<'de> for Frag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Frag
impl StructuralPartialEq for Frag
Auto Trait Implementations§
impl Freeze for Frag
impl RefUnwindSafe for Frag
impl Send for Frag
impl Sync for Frag
impl Unpin for Frag
impl UnsafeUnpin for Frag
impl UnwindSafe for Frag
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