Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unix/socketaddr: add as_abstract_name #6644

Closed
wants to merge 1 commit into from

Conversation

BusyJay
Copy link

@BusyJay BusyJay commented Jun 17, 2024

Motivation

Both std and mio provide API to fetch underlying path from an abstract uds. This is
missing in tokio's wrapper type.

Solution

Add the missing API. std names it as as_abstract_name, mio names it as
as_abstract_namespace, this pr chooses the former.

std names it `as_abstract_name`, mio names it `as_abstract_namespace`,
this pr chooses the former.

Signed-off-by: Jay <BusyJay@users.noreply.github.com>
@Darksonn
Copy link
Contributor

We are not adding this until we switch to mio v1. Please see #6202.

@Darksonn Darksonn closed this Jun 17, 2024
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-net Module: tokio/net labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-net Module: tokio/net
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants