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_ Restricted Chan MsgSet - Derives a
TryFrom<AnyChanMsg>implementation for enums that represent restricted subsets of ChanMsgs
Enums§
- Create
Request 🔒 - A subset of [
ChanMsg] that can be used to create a circuit. - Create
Response - A subclass of ChanMsg that can arrive in response to a CREATE* cell that we send.