Skip to main content

Module create

Module create 

Source
Expand description

Helpers for handling CREATE* cells.

Re-exportsยง

use crate::circuit::celltypes::CreateResponse; ๐Ÿ”’
use crate::Error; ๐Ÿ”’
use crate::Result; ๐Ÿ”’
use tor_cell::chancell; ๐Ÿ”’
use tor_cell::chancell::msg::AnyChanMsg; ๐Ÿ”’
use tor_cell::chancell::msg::HandshakeType; ๐Ÿ”’

Structsยง

Create2Wrap ๐Ÿ”’
A CreateHandshakeWrap that generates CREATE2 and handles CREATED2
CreateFastWrap ๐Ÿ”’
A CreateHandshakeWrap that generates CREATE_FAST and handles CREATED_FAST.

Traitsยง

CreateHandshakeWrap ๐Ÿ”’
An object that can put a given handshake into a ChanMsg for a CREATE* cell, and unwrap a CREATED* cell.