#[repr(u8)]pub enum Op {
Accept = 1,
DownstreamRead = 2,
DownstreamWrite = 3,
UpstreamRead = 4,
UpstreamWrite = 5,
Connect = 6,
Splice = 7,
}Expand description
Operation kind encoded in a Token.
Variants§
Accept = 1
Listener readiness (a new connection can be accepted).
DownstreamRead = 2
Read from the downstream (client-facing) socket.
DownstreamWrite = 3
Write to the downstream socket.
UpstreamRead = 4
Read from the upstream (backend) socket.
UpstreamWrite = 5
Write to the upstream socket.
Connect = 6
Nonblocking connect to an upstream completed.
Splice = 7
Splice pump progress (L4 passthrough).
Trait Implementations§
impl Copy for Op
impl Eq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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