pub struct BytesScan;Implementations§
Source§impl BytesScan
impl BytesScan
pub fn find_byte_from(bytes: &[u8], start: usize, needle: u8) -> Option<usize>
pub fn find_crlf_from(bytes: &[u8], start: usize) -> Option<usize>
pub fn find_name_end_valid( bytes: &[u8], start: usize, ) -> Result<Option<(usize, u8)>, Error>
pub fn find_header_line_from( bytes: &[u8], start: usize, ) -> Option<HeaderLineScan>
Auto Trait Implementations§
impl Freeze for BytesScan
impl RefUnwindSafe for BytesScan
impl Send for BytesScan
impl Sync for BytesScan
impl Unpin for BytesScan
impl UnsafeUnpin for BytesScan
impl UnwindSafe for BytesScan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more