#[repr(u8)]pub enum SvcRequest {
OpenUrl = 1,
Send = 2,
Receive = 3,
PortForward = 4,
}Expand description
Discriminator byte for the unified per-session service socket (svc-{id}.sock).
Sent as the first byte on every connection to route to the correct handler.
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for SvcRequest
impl RefUnwindSafe for SvcRequest
impl Send for SvcRequest
impl Sync for SvcRequest
impl Unpin for SvcRequest
impl UnsafeUnpin for SvcRequest
impl UnwindSafe for SvcRequest
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