This PR introduces a RawSample/RawSampleMut as a drop in replacement for NonNull with additional methods to reduce the unsafe code. Additionally, MaybeUninit is used to prevent publishing uninitialized samples.
Pre-Review Checklist for the PR Author
[x] Add sensible notes for the reviewer
[x] PR title is short, expressive and meaningful
[x] Relevant issues are linked
[x] Every source code file has the SPDX header SPDX-License-Identifier: $(LICENSE_CODE)
[x] Branch follows the naming format (elk-123-introduce-posix-ipc-example)
[x] Commits messages are according to this guideline
[x] Commit messages have the issue ID ([#123] Add posix ipc example)
Notes for Reviewer
This PR introduces a
RawSample
/RawSampleMut
as a drop in replacement forNonNull
with additional methods to reduce the unsafe code. Additionally,MaybeUninit
is used to prevent publishing uninitialized samples.Pre-Review Checklist for the PR Author
SPDX-License-Identifier: $(LICENSE_CODE)
elk-123-introduce-posix-ipc-example
)[#123] Add posix ipc example
)task-list-completed
)Checklist for the PR Reviewer
Post-review Checklist for the PR Author
References
Use either 'Closes #123' or 'Relates to #123' to reference the corresponding issue.
Relates to #47