Struct grammers_mtproto::transport::Full
source · pub struct Full { /* private fields */ }
Expand description
The basic MTProto transport protocol. This is an implementation of the full transport.
- Overhead: medium
- Minimum envelope length: 12 bytes.
- Maximum envelope length: 12 bytes.
It serializes the input payload as follows:
+----+----+----...----+----+
| len| seq| payload | crc|
+----+----+----...----+----+
^^^^ 4 bytes
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Full
impl RefUnwindSafe for Full
impl Send for Full
impl Sync for Full
impl Unpin for Full
impl UnwindSafe for Full
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