pub enum RouteAction {
Local(Bytes),
Forwarded(SocketAddr),
}Expand description
Result of routing a packet
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RouteAction
impl RefUnwindSafe for RouteAction
impl Send for RouteAction
impl Sync for RouteAction
impl Unpin for RouteAction
impl UnsafeUnpin for RouteAction
impl UnwindSafe for RouteAction
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