android_intent/
action.rs

1/// Action to invoke with an intent
2pub enum Action {
3    Send,
4    Edit,
5    Chooser,
6}
7
8impl AsRef<str> for Action {
9    fn as_ref(&self) -> &str {
10        match self {
11            Self::Send => "ACTION_SEND",
12            Self::Edit => "ACTION_EDIT",
13            Self::Chooser => "ACTION_CHOOSER",
14        }
15    }
16}