Skip to main content

Module celltypes

Module celltypes 

Source
Expand description

Wrapper types for subsets of ChanMsg and RelayMsg types.

These wrappers define types that are valid in response to particular request, or when received in particular circumstances. They’re used so that Rust’s typesafety can help enforce protocol properties.

Macros§

derive_deftly_template_RestrictedChanMsgSet 🔒
Derives a TryFrom<AnyChanMsg> implementation for enums that represent restricted subsets of ChanMsgs

Enums§

CreateRequest 🔒
A subset of [ChanMsg] that can be used to create a circuit.
CreateResponse
A subclass of ChanMsg that can arrive in response to a CREATE* cell that we send.