Docs.rs
  • rsa-msg-packets-0.1.0
    • rsa-msg-packets 0.1.0
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • sshcrack
    • Dependencies
      • anyhow ^1.0.68 normal
      • hex ^0.4.3 normal
      • lazy_static ^1.4.0 normal
      • log ^0.4.17 normal
      • openssl ^0.10.45 normal
      • tokio ^1.25.0 normal
      • uuid ^1.2.2 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

ByteMessage

Required Methods

  • deserialize
  • serialize

Implementors

In rsa_msg_packets::types

?
Change settings

Trait rsa_msg_packets::types::ByteMessage

source ·
pub trait ByteMessage {
    // Required methods
    fn serialize(&self) -> Vec<u8>;
    fn deserialize(data: &Vec<u8>) -> Result<Self>
       where Self: Sized;
}

Required Methods§

source

fn serialize(&self) -> Vec<u8>

source

fn deserialize(data: &Vec<u8>) -> Result<Self>where Self: Sized,

Implementors§

source§

impl ByteMessage for ErrorMsg

source§

impl ByteMessage for FromMsg

source§

impl ByteMessage for ToMsg

source§

impl ByteMessage for ChunkAbortMsg

source§

impl ByteMessage for ChunkDownloadedMsg

source§

impl ByteMessage for ChunkReadyMsg

source§

impl ByteMessage for FileStartProcessing

source§

impl ByteMessage for FileQuestionMsg

source§

impl ByteMessage for FileQuestionReplyMsg

source§

impl ByteMessage for NameMsg

source§

impl ByteMessage for PubkeyMsg

source§

impl ByteMessage for UidReplyMsg