(&self)
| 19 | |
| 20 | impl Prefix { |
| 21 | fn as_str(&self) -> &'static str { |
| 22 | match self { |
| 23 | Prefix::Session => "ses", |
| 24 | Prefix::Message => "msg", |
| 25 | Prefix::Permission => "per", |
| 26 | Prefix::Question => "que", |
| 27 | Prefix::User => "usr", |
| 28 | Prefix::Part => "prt", |
| 29 | Prefix::Pty => "pty", |
| 30 | Prefix::Tool => "tool", |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | static LAST_TIMESTAMP: AtomicU64 = AtomicU64::new(0); |
no outgoing calls