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