pub fn inc(&mut self, instance: &str, increment: u64) -> Option<io::Result<()>> {
        self.im.val(instance).cloned().and_then(|val|
            self.im.set_val(instance, val + increment)
        )
    }
/// Increments the count of the instance by the given value
///
/// The wrapping `Option` is `None` if the instance wasn't found
Increments the count of the instance by the given value
The wrapping `Option` is `None` if the instance wasn't found
Increments the count of the instance by the given value The wrapping ` Option ` is ` None ` if the instance wasn ' t found
pub fn inc(&mut self, instance: &str, increment: u64) -> Option<io::Result<()>> {
        self.im.val(instance).cloned().and_then(|val|
            self.im.set_val(instance, val + increment)
        )
    }
pub fn inc ( & mut self , instance : & str , increment : u64 ) -> Option < io :: Result < ( ) > > { self . im . val ( instance ) . cloned ( ) . and_then ( | val | self . im . set_val ( instance , val + increment ) ) }
Increments the count of the instance by the given value
The wrapping `Option` is `None` if the instance wasn't found
Increments the count of the instance by the given value The wrapping ` Option ` is ` None ` if the instance wasn ' t found
&mut self
instance
&str
increment
u64