pub struct TcpPort {
pub base: Port,
pub metrics: Metrics,
}Fields§
§base: Port§metrics: MetricsImplementations§
Source§impl TcpPort
impl TcpPort
pub fn update_receive(&mut self) -> &mut Self
pub fn update_send(&mut self) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpPort
impl RefUnwindSafe for TcpPort
impl Send for TcpPort
impl Sync for TcpPort
impl Unpin for TcpPort
impl UnwindSafe for TcpPort
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