Skip to main content

Module session_serialize_impl

Module session_serialize_impl 

Source
Expand description

SessionEntry serialization/deserialization implementation

This module provides the concrete implementation of SessionEntry::serialize() and SessionEntry::deserialize_line() methods.

§Architecture

session_serialize_impl.rs (this file)
  ├── impl SessionEntry { serialize(), deserialize_line() }
  └── delegates to session_uri_utils for URI/hex handling

session_entry.rs (core data)
  ├── SessionEntry struct definition
  └── Builder pattern methods (new, with_options, paused)

§Serialization Format

Each entry is serialized as a multi-line block:

uri1\turi2\turi3
 GID=hex_value
 [PAUSE=true]
 key=value
 TOTAL_LENGTH=...
 COMPLETED_LENGTH=...
 ...