mysql_binlog 0.4.0

Parser for the MySQL binlog format
Documentation
1
2
3
4
5
6
7
8
9
use std::io::{Result, Seek, SeekFrom};

pub trait Tell: Seek {
    fn tell(&mut self) -> Result<u64> {
        self.seek(SeekFrom::Current(0))
    }
}

impl<T> Tell for T where T: Seek {}