pub struct UdpPort;
Trait Implementations§
Source§impl Ops for UdpPort
impl Ops for UdpPort
Source§fn from_list(host: &str, v: Vec<u16>) -> Option<u16>
fn from_list(host: &str, v: Vec<u16>) -> Option<u16>
Returns any port from the supplied list. Read more
Source§fn except(host: &str, v: Vec<u16>) -> Option<u16>
fn except(host: &str, v: Vec<u16>) -> Option<u16>
Returns any port from the default range except for the ones in the supplied list. Read more
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