Skip to main content

Module writer

Module writer 

Source
Expand description

Internal: Declare the Writer type for tor-bytes

Re-exportsยง

use std::marker::PhantomData; ๐Ÿ”’
use educe::Educe; ๐Ÿ”’
use crate::EncodeError; ๐Ÿ”’
use crate::EncodeResult; ๐Ÿ”’
use crate::Writeable; ๐Ÿ”’
use crate::WriteableOnce; ๐Ÿ”’

Structsยง

NestedWriter
Work in progress state for writing a nested (length-counted) item

Traitsยง

Writer
A byte-oriented trait for writing to small arrays.

Functionsยง

write_nested_generic ๐Ÿ”’
Implementation of write_nested_* - generic over the length type