Skip to content

docs: Rust bindings need an explanation for Send/Sync impls #4413

Open
@maddeleine

Description

@maddeleine

Security issue notifications

If you discover a potential security issue in s2n we ask that you notify
AWS Security via our vulnerability reporting page. Please do not create a public github issue.

Problem:

Some of our Rust bindings structs impl Send or Sync, which is kind of unusual to do manually in Rust. It's not immediately clear why these structs need these marker traits, and it would be really nice to have an explanation for why we needed to implement those traits.

Solution:

Write some documentation explaining more in detail about why the Connection struct implements Send but not Sync. Also why the Config struct implements Send and Sync.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions