pub enum Outcome {
Refused,
Unresolved,
Private,
Unreachable,
Cut,
Tunneled,
}Expand description
How a connection ended up, after the gate’s verdict.
Variants§
Refused
The gate refused it.
Unresolved
The host did not resolve.
Private
Every address the host resolved to is private or loopback.
Unreachable
The upstream did not accept the connection.
Cut
The gate stopped it midway (Gate::carried).
Tunneled
Bytes flowed both ways until one side closed.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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