Commit graph

18 commits

Author SHA1 Message Date
df2736d7d8 libimagcounter: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
f3727ca686 Fix libimagcounter::counter::* for new StoreId interface 2016-08-28 18:41:55 +02:00
Kai Sickeler
da432f5b07 Replaced unwrap with try! 2016-07-27 20:19:35 +02:00
Kai Sickeler
47d2a7703c shorten header reading with header function 2016-07-27 19:54:03 +02:00
Kai Sickeler
1c5cb7d21d replaced implementation of reset with call to set function 2016-07-27 18:54:09 +02:00
Kai Sickeler
3445908ef9 better error-handling when reading the unit 2016-07-27 17:40:20 +02:00
Kai Sickeler
769512ada2 added Option<CounterUnit> as member of Struct Counter 2016-07-27 17:40:20 +02:00
Kai Sickeler
aeb27072a7 use CounterUnit::new instead of a pub member 2016-07-27 17:40:20 +02:00
Kai Sickeler
7e4166acbf changed Unit-String to CounterUnit-Type 2016-07-27 17:40:20 +02:00
Kai Sickeler
cd182c73f4 replaced typedef with newtype 2016-07-27 17:40:20 +02:00
Kai Sickeler
33db6da554 added measurement units 2016-07-27 17:40:20 +02:00
Andre Bogus
dfd6a9b0d3 style adaptations
these were introduced following suggestions from
https://crates.io/crate/clippy
2016-05-13 22:26:48 +02:00
381a9b3f5b Revert change to unwrap_err() here, trait bounds not fulfilled 2016-04-20 21:46:02 +02:00
d01c2d294e libimagcounter: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:26 +02:00
0524b26fa7 Remove unused imports 2016-04-16 17:55:12 +02:00
1d5ed2c3d5 Remove unused keyword "mut" 2016-04-16 17:55:12 +02:00
78feb53aa8 Add Counter::all_counters() to get all counters 2016-03-19 15:40:01 +01:00
2bc9f2ec25 libimagcounter: init 2016-03-12 16:06:10 +01:00