[][src]Crate tari_utilities

Re-exports

pub use self::extend_bytes::ExtendBytes;
pub use self::byte_array::ByteArray;
pub use self::byte_array::ByteArrayError;
pub use self::hash::Hashable;

Modules

bit
byte_array
ciphers
convert
epoch_time
extend_bytes
fixed_set
hash
hex
locks
message_format
thread_join

Macros

acquire_lock

This macro unlocks a Mutex or RwLock. If the lock is poisoned (i.e. a panic before a MutexGuard / RwLockGuard is dropped) the last value before the panic occurred is used.

acquire_read_lock

Acquire a read lock on a RwLock, silently recovering the lock if it is poisoned

acquire_write_lock

Acquire a write lock on a RwLock, silently recovering the lock if it is poisoned

recover_lock

Recovers a poisoned lock by returning the value before the lock was poisoned