Expand description
§Namaste
§Project
- License: GNU Lesser General Public License, either version 3, or (at your option) any later version.
- This project follows Semantic Versioning 2.0.0
§Features
- Handling locks amongst processes.
- Some extensions for Unix domain sockets.
§Locks
§Usage
An identifier is a non-empty byte array. Up to 64 bytes are supported. So, for example, you can use SHA3-512 hashes as IDs.
You can call make()
or make_wait()
to lock your IDs. When done, simply drop them via drop()
.
§Notes
System | Requirements | Implementation details |
---|---|---|
Linux | Nightly Rust | Abstract sockets (see unix(7) ) |
Windows | Event Objects |
Other systems are not supported.
Modules§
- debts
- Debts
- version_
info 0.29.3
(July 5th, 2025)
Structs§
- Namaste
Android or L4Re or Linux - Namaste on Linux
- RwNamaste
Android or L4Re or Linux or Windows - Read/write Namaste
Constants§
- CODE_
NAME - Crate code name
- ID
- ID of this crate
- NAME
- Crate name
- RELEASE_
DATE - Crate release date (year/month/day)
- TAG
- Tag, which can be used for logging…
- VERSION
- Crate version
Traits§
- Udsx
Unix Stream Unix - Extensions for
UnixStream
Functions§
- make
Android or L4Re or Linux or Windows - Makes new
Namaste
- make_
wait (Android or L4Re or Linux or Windows) and async-std
- Tries to make a
Namaste
…
Type Aliases§
- Result
- Result type used in this crate