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

Add as_ref and as_mut functions to Toggle #1684

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Add as_ref and as_mut functions to Toggle #1684

merged 1 commit into from
Aug 10, 2020

Conversation

expenses
Copy link
Contributor

@expenses expenses commented Aug 3, 2020

At present there is no way to get access to the inner NetworkBehaviour, which means you can't make any behaviours toggleable if you want to be able to call functions on them.

@romanb romanb merged commit b6ec95e into libp2p:master Aug 10, 2020
Sign up for free to 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.

3 participants