#[repr(u8)]pub enum Verb {
Show 30 variants
Scan = 1,
Format = 2,
Search = 3,
EndStream = 4,
Ping = 5,
Ok = 6,
Alert = 7,
Back = 8,
Context = 9,
Next = 10,
Stats = 11,
Clear = 12,
Complete = 13,
AuthStart = 14,
AuthEnd = 15,
Audio = 16,
Permit = 17,
Deny = 18,
Elevate = 19,
Audit = 20,
Error = 21,
Subscribe = 22,
Unsubscribe = 23,
Cancel = 24,
M8Wave = 25,
Remember = 26,
Recall = 28,
Forget = 29,
Session = 30,
User = 31,
}Expand description
Protocol verbs mapped to control ASCII codes
Variants§
Scan = 1
SOH (0x01) - Scan directory
Format = 2
STX (0x02) - Format output
Search = 3
ETX (0x03) - Search files/content
EndStream = 4
EOT (0x04) - End stream/session
Ping = 5
ENQ (0x05) - Ping/health check
Ok = 6
ACK (0x06) - OK/acknowledgment
Alert = 7
BEL (0x07) - Alert/notification
Back = 8
BS (0x08) - Back/undo
Context = 9
HT (0x09) - Request context
Next = 10
LF (0x0A) - Next item in sequence
Stats = 11
VT (0x0B) - Statistics request
Clear = 12
FF (0x0C) - Clear/reset
Complete = 13
CR (0x0D) - Complete/commit
AuthStart = 14
SO (0x0E) - Start auth block
AuthEnd = 15
SI (0x0F) - End auth block
Audio = 16
DLE (0x10) - Audio data (AcousticMemory from liquid-rust)
Permit = 17
DC1 (0x11) - Permit access
Deny = 18
DC2 (0x12) - Deny access
Elevate = 19
DC3 (0x13) - Elevate privileges
Audit = 20
DC4 (0x14) - Audit log
Error = 21
NAK (0x15) - Error response
Subscribe = 22
SYN (0x16) - Subscribe to updates
Unsubscribe = 23
ETB (0x17) - Unsubscribe
Cancel = 24
CAN (0x18) - Cancel operation
M8Wave = 25
EM (0x19) - Wave signal (M8 memory)
Remember = 26
SUB (0x1A) - Remember/store
Recall = 28
FS (0x1C) - Recall from memory
Forget = 29
GS (0x1D) - Forget/delete
Session = 30
RS (0x1E) - Session control
User = 31
US (0x1F) - User identification
Implementations§
Source§impl Verb
impl Verb
Sourcepub fn requires_auth(self) -> bool
pub fn requires_auth(self) -> bool
Check if verb requires authentication
Sourcepub fn security_level(self) -> u8
pub fn security_level(self) -> u8
Get the security level required for this verb