Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Threema/domain/libthreema/lib/src/csp/payload/     Datei vom 25.3.2026 mit Größe 683 B image not shown  

Quelle  mod.rs

  Sprache: Rust
 

//! Incoming/outgoing payloads.
use educe::Educe;
use libthreema_macros::Name;

use crate::{csp::CspProtocolError, utils::debug::debug_slice_length};

pub(supermod handshake;
mod post_handshake;
pub use handshake::LoginAckData;
pub use post_handshake::*;

/// An encoded outgoing frame.
#[derive(Name, Educe)]
#[educe(Debug)]
pub struct OutgoingFrame(#[educe(Debug(method(debug_slice_length)))] pub Vec<u8>);

/// Encodes a message/payload into a frame that can be sent on the CSP transport stream.
pub(supertrait FrameEncoder {
    /// Encode the message/payload into a frame with the appropriate header.
    fn encode_frame(&self) -> Result<OutgoingFrame, CspProtocolError>;
}

Messung V0.5 in Prozent
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-28) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.