pub enum ForwardResult {
NormalDisconnect(TransferMetrics),
BackendError(TransferMetrics),
}Expand description
Result of bidirectional forwarding
Variants§
NormalDisconnect(TransferMetrics)
Normal disconnection
BackendError(TransferMetrics)
Backend error - connection should be removed from pool
Auto Trait Implementations§
impl Freeze for ForwardResult
impl RefUnwindSafe for ForwardResult
impl Send for ForwardResult
impl Sync for ForwardResult
impl Unpin for ForwardResult
impl UnwindSafe for ForwardResult
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