1use std::borrow::Borrow; 2 3use crate::Buffer; 4 5impl Borrow<[u8]> for Buffer { 6 fn borrow(&self) -> &[u8] { 7 self 8 } 9}