summaryrefslogtreecommitdiff
path: root/rand/rand_xoshiro/src/xoshiro128plus.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-07-14 18:10:32 -0700
committerDaniel Mueller <deso@posteo.net>2019-08-13 19:30:15 -0700
commite6e8a024bf892851cf65ebea4c214d5bc1c90594 (patch)
tree446313fa103328b442b6432d705763b1ca4f332e /rand/rand_xoshiro/src/xoshiro128plus.rs
parentec9dddc17d7466ec44fbfd08e71546b8c0ba9b1b (diff)
downloadnitrocli-e6e8a024bf892851cf65ebea4c214d5bc1c90594.tar.gz
nitrocli-e6e8a024bf892851cf65ebea4c214d5bc1c90594.tar.bz2
Introduce TryInto<T> trait
This change introduces a new trait, TryInto, to the crate. In the future this trait will allow us to keep a flexible set of error result types from the various try_with_* functions, which use a certain nitrokey error variant to check for the entry of a wrong secret. Note that while a TryInto trait exists in Rust's standard library, that was not found to be helpful because we have no way to define it for nitrkey crate's error type. Because of that, we will always have a mismatch between our internal error and std::convert::Infallible.
Diffstat (limited to 'rand/rand_xoshiro/src/xoshiro128plus.rs')
0 files changed, 0 insertions, 0 deletions