From 5b8e461eb66efa72a311561e8c79e20b2d00bdc8 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Sat, 6 Mar 2021 15:30:23 -0800 Subject: [PATCH] Future-proof Flag for more variants --- src/types/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/mod.rs b/src/types/mod.rs index 5741f8f..b527566 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -118,6 +118,7 @@ pub type Seq = u32; /// > Note: The `\Recent` system flag is a special case of a session flag. `\Recent` can not be /// > used as an argument in a `STORE` or `APPEND` command, and thus can not be changed at all. #[derive(Clone, Debug, Hash, PartialEq, Eq)] +#[non_exhaustive] pub enum Flag<'a> { /// Message has been read Seen,