pub struct ForwardReport {
pub served: u32,
pub refused: u32,
pub upgrades: u32,
pub proxy_token_mints: u64,
pub stopped: StopReason,
}Expand description
What a port-forward loop did.
Fields§
§served: u32Connections accepted.
refused: u32Exchanges the proxy refused (ForwardEvent::Refused).
upgrades: u32Exchanges that upgraded, a WebSocket among them.
proxy_token_mints: u64Proxy tokens the session minted by the time the loop ended.
stopped: StopReasonTrait Implementations§
Source§impl Clone for ForwardReport
impl Clone for ForwardReport
Source§impl Debug for ForwardReport
impl Debug for ForwardReport
impl Eq for ForwardReport
Source§impl PartialEq for ForwardReport
impl PartialEq for ForwardReport
impl StructuralPartialEq for ForwardReport
Auto Trait Implementations§
impl Freeze for ForwardReport
impl RefUnwindSafe for ForwardReport
impl Send for ForwardReport
impl Sync for ForwardReport
impl Unpin for ForwardReport
impl UnsafeUnpin for ForwardReport
impl UnwindSafe for ForwardReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.