Skip to main content

Module reader

Module reader 

Source
Expand description

Internal: Declare the Reader type for tor-bytes

Re-exportsΒ§

use tor_error::bad_api_usage; πŸ”’
use tor_error::into_internal; πŸ”’
use crate::Error; πŸ”’
use crate::Readable; πŸ”’
use crate::Result; πŸ”’
use std::num::NonZeroUsize; πŸ”’

StructsΒ§

Cursor
A reference to a position within a Reader.
Reader
A type for reading messages from a slice of bytes.

EnumsΒ§

Completeness πŸ”’
Whether we’re supposed to have the complete message, or not

FunctionsΒ§

read_nested_generic πŸ”’
Implementation of read_nested_* – generic