Skip to main content

Module codec

Module codec 

Source
Expand description

Implementation for encoding and decoding of ChanCells.

Re-exportsยง

use super::CELL_DATA_LEN; ๐Ÿ”’
use super::ChanCell; ๐Ÿ”’
use crate::Error; ๐Ÿ”’
use crate::chancell::ChanCmd; ๐Ÿ”’
use crate::chancell::ChanMsg; ๐Ÿ”’
use crate::chancell::CircId; ๐Ÿ”’
use tor_bytes; ๐Ÿ”’
use tor_bytes::Reader; ๐Ÿ”’
use tor_bytes::Writer; ๐Ÿ”’
use tor_error::internal; ๐Ÿ”’
use bytes::Bytes; ๐Ÿ”’
use bytes::BytesMut; ๐Ÿ”’

Structsยง

ChannelCodec
This object can be used to encode and decode channel cells.