Enum tor_proto::circuit::MetaCellDisposition
source · #[non_exhaustive]
pub enum MetaCellDisposition {
Consumed,
UninstallHandler,
CloseCirc,
}Available on crate feature
send-control-msg only.Expand description
A possible successful outcome of giving a message to a MsgHandler.
(This deliberately does not implement Clone, in case we want it to include
a the cell itself later on.)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Consumed
The message was consumed; the handler should remain installed.
UninstallHandler
The message was consumed; the handler should be uninstalled.
CloseCirc
The message was consumed; the circuit should be closed.