diff options
author | Benno Lossin <[email protected]> | 2023-04-08 12:25:56 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-12 18:41:05 +0200 |
commit | 92c4a1e7e81cc775b2ad6bedb348098230f7ed87 (patch) | |
tree | d83e5991bdea03d060c2de7f598f0c279f4eb7f2 /scripts/gdb/linux/proc.py | |
parent | fc6c6baa1f40ded13e539d0c1a17bcefc00abad9 (diff) |
rust: init/sync: add `InPlaceInit` trait to pin-initialize smart pointers
The `InPlaceInit` trait that provides two functions, for initializing
using `PinInit<T, E>` and `Init<T>`. It is implemented by `Arc<T>`,
`UniqueArc<T>` and `Box<T>`.
Signed-off-by: Benno Lossin <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions