Skip to content

Add send and sync traits for node and tree#12

Open
aminya wants to merge 1 commit into
oooutlk:masterfrom
aminya:send
Open

Add send and sync traits for node and tree#12
aminya wants to merge 1 commit into
oooutlk:masterfrom
aminya:send

Conversation

@aminya
Copy link
Copy Markdown

@aminya aminya commented Oct 1, 2021

Fixes #10

@oooutlk
Copy link
Copy Markdown
Owner

oooutlk commented Oct 3, 2021

No Node is returned in any API, just &Node or Pin<Node>. I don't think it makes sense to add Send support for Node.

Adding Send for Tree/Forest seems to make sense.

2 similar comments
@oooutlk
Copy link
Copy Markdown
Owner

oooutlk commented Oct 3, 2021

No Node is returned in any API, just &Node or Pin<Node>. I don't think it makes sense to add Send support for Node.

Adding Send for Tree/Forest seems to make sense.

@oooutlk
Copy link
Copy Markdown
Owner

oooutlk commented Oct 3, 2021

No Node is returned in any API, just &Node or Pin<Node>. I don't think it makes sense to add Send support for Node.

Adding Send for Tree/Forest seems to make sense.

@aminya
Copy link
Copy Markdown
Author

aminya commented Oct 3, 2021

The last time I tried, it was not possible to send Tree without having Send trait for Node.

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.

Send traits support for Tree and Node

2 participants