Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

try_clone not implemented on UdpSocket #1095

Open
@juerkkil

Description

@juerkkil

Noticed thatasync_std::net::UdpSocket does not implementtry_clone() function, which is implemented in standard lib.

Tested out briefly on a local env and it seems to me that something like this would do the trick:

    pub fn try_clone(&self) -> UdpSocket {        UdpSocket::from(self.watcher.get_ref().try_clone().expect("oops"))    }

Is it a good idea to craft a PR, or is there some particular reason why this is not implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp