# HG changeset patch # User Sunil Nimmagadda # Date 1709297984 -19800 # Node ID 4ad31d279c3588f1d0cdc751c63a4b30af33e904 # Parent 72c4d898c478d90b9ba122cee72a03a8bf084410 ByteReader -> BytesReader. diff -r 72c4d898c478 -r 4ad31d279c35 src/vrrpv2.rs --- a/src/vrrpv2.rs Thu Feb 01 16:51:45 2024 +0530 +++ b/src/vrrpv2.rs Fri Mar 01 18:29:44 2024 +0530 @@ -51,13 +51,13 @@ VRRPv2AuthReserved2 = 0x02, } -trait ByteReader { +trait BytesReader { fn read_u8(&mut self) -> io::Result; fn read_u16(&mut self) -> io::Result; fn read_u32(&mut self) -> io::Result; } -impl> ByteReader for Cursor { +impl> BytesReader for Cursor { fn read_u8(&mut self) -> io::Result { let mut buffer = [0; 1]; self.read_exact(&mut buffer)?;