pub fn remove_limit(self) -> Result<()> {
        if self.limit == *self.cursor {
            Ok(())
        } else {
            Err(Error::LimitExceeded)
        }
    }
/// Removes the limit and returns an error if the limit was exceeded, or not reached
Removes the limit and returns an error if the limit was exceeded, or not reached
Removes the limit and returns an error if the limit was exceeded or not reached
pub fn remove_limit(self) -> Result<()> {
        if self.limit == *self.cursor {
            Ok(())
        } else {
            Err(Error::LimitExceeded)
        }
    }
pub fn remove_limit ( self ) -> Result < ( ) > { if self . limit == * self . cursor { Ok ( ( ) ) } else { Err ( Error :: LimitExceeded ) } }
Removes the limit and returns an error if the limit was exceeded, or not reached
Removes the limit and returns an error if the limit was exceeded or not reached
self