pub enum ProxySide {
ClientToProxy,
ProxyToRelay,
RelayToProxy,
ProxyToClient,
}Expand description
Which side of the proxy a message originates from.
Variants§
ClientToProxy
Client → Proxy (downstream ingress).
ProxyToRelay
Proxy → Relay (upstream egress).
RelayToProxy
Relay → Proxy (upstream ingress).
ProxyToClient
Proxy → Client (downstream egress).
Trait Implementations§
impl Copy for ProxySide
impl Eq for ProxySide
impl StructuralPartialEq for ProxySide
Auto Trait Implementations§
impl Freeze for ProxySide
impl RefUnwindSafe for ProxySide
impl Send for ProxySide
impl Sync for ProxySide
impl Unpin for ProxySide
impl UnsafeUnpin for ProxySide
impl UnwindSafe for ProxySide
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