Skip to content

Why is T required to be Send? #3

@thk1

Description

@thk1

Why is T required to be Send if the wrapped value is only accessible within the same thread it has been created from?

pub struct ThreadLocal<T: ?Sized + Send> { /* fields omitted */ }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions