This updates the docs with what was discussed in the linked thread. Then, the Rust bindings are adjusted to match in behaviour. To: Linux-GPIO <linux-gpio@xxxxxxxxxxxxxxx> Cc: Bartosz Golaszewski <brgl@xxxxxxxx> Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx> Link: https://lore.kernel.org/r/CVHO091CC80Y.3KUOSLSOBVL0T@ablu-work Signed-off-by: Erik Schilling <erik.schilling@xxxxxxxxxx> --- Erik Schilling (3): doc: drop unneeded <p> tags doc: document thread safety guarantees bindings: rust: mark all owning types as `Send` bindings/rust/libgpiod/src/edge_event.rs | 4 ++++ bindings/rust/libgpiod/src/event_buffer.rs | 8 ++++++++ bindings/rust/libgpiod/src/info_event.rs | 4 ++++ bindings/rust/libgpiod/src/line_config.rs | 4 ++++ bindings/rust/libgpiod/src/line_request.rs | 4 ++++ bindings/rust/libgpiod/src/line_settings.rs | 4 ++++ bindings/rust/libgpiod/src/request_config.rs | 4 ++++ include/gpiod.h | 26 +++++++++++++++++++++++--- 8 files changed, 55 insertions(+), 3 deletions(-) --- base-commit: ced90e79217793957b11414f47f8aa8a77c7a2d5 change-id: 20230928-rust-send-trait-316a8f31bb97 Best regards, -- Erik Schilling <erik.schilling@xxxxxxxxxx>