pub struct UdpListener { /* private fields */ }Implementations§
Source§impl UdpListener
impl UdpListener
pub async fn new( host: String, port: u16, https_client: HttpsClient, ) -> Result<Self, LocalError>
pub async fn listen(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UdpListener
impl !RefUnwindSafe for UdpListener
impl Send for UdpListener
impl Sync for UdpListener
impl Unpin for UdpListener
impl !UnwindSafe for UdpListener
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