Enum tor_proto::circuit::MetaCellDisposition
source · #[non_exhaustive]pub enum MetaCellDisposition {
Consumed,
ConversationFinished,
CloseCirc,
}Available on crate feature
send-control-msg only.Expand description
A possible successful outcome of giving a message to a MsgHandler.
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.
ConversationFinished
The message was consumed; the handler should be uninstalled.
CloseCirc
The message was consumed; the circuit should be closed.
Trait Implementations§
source§impl Clone for MetaCellDisposition
impl Clone for MetaCellDisposition
source§fn clone(&self) -> MetaCellDisposition
fn clone(&self) -> MetaCellDisposition
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MetaCellDisposition
impl Send for MetaCellDisposition
impl Sync for MetaCellDisposition
impl Unpin for MetaCellDisposition
impl UnwindSafe for MetaCellDisposition
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more