#from #patterns #try #fail #result #trait #traits #tryfrom #try-from

no-std try_from

TryFrom and TryInto traits for failable conversions that return a Result

7 releases

Uses old Rust 2015

0.3.2 Nov 28, 2018
0.3.1 Nov 28, 2018
0.2.2 May 23, 2017
0.2.1 Jan 9, 2017
0.1.0 Nov 26, 2015

#448 in Rust patterns

Download history 20221/week @ 2021-01-16 21619/week @ 2021-01-23 21581/week @ 2021-01-30 20548/week @ 2021-02-06 20385/week @ 2021-02-13 20473/week @ 2021-02-20 21170/week @ 2021-02-27 19530/week @ 2021-03-06 19956/week @ 2021-03-13 19711/week @ 2021-03-20 18967/week @ 2021-03-27 19410/week @ 2021-04-03 20710/week @ 2021-04-10 20203/week @ 2021-04-17 21145/week @ 2021-04-24 22839/week @ 2021-05-01

89,809 downloads per month
Used in less than 33 crates

MIT license

15KB
389 lines

try_from

Travis Build Status MIT licensed crates.io

TryFrom and TryInto traits for failable conversions that return a Result.

Dependencies

~8KB