Skip to content

feat: add auto Connection::into_owned - #128

Merged
seanmonstar merged 1 commit into
masterfrom
auto-conn-into-owned
May 28, 2024
Merged

feat: add auto Connection::into_owned#128
seanmonstar merged 1 commit into
masterfrom
auto-conn-into-owned

Conversation

@seanmonstar

Copy link
Copy Markdown
Member

I noticed when trying to make use of #127 that you cannot currently create and reuse a server builder, and spawn the connections into a new task, because Connection borrows the Builder. (In hindsight, it probably should have just made a clone, but oh well.) This adds the ability to disconnect the lifetimes.

@seanmonstar
seanmonstarforce-pushed the auto-conn-into-owned branch from 6fe1c3d to 9e84855CompareMay 27, 2024 17:12
@seanmonstar
seanmonstar merged commit 8f29948 into masterMay 28, 2024
@seanmonstar
seanmonstar deleted the auto-conn-into-owned branch May 28, 2024 12:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@seanmonstar