pub struct StreamDecoder { /* private fields */ }Implementations§
Source§impl StreamDecoder
impl StreamDecoder
pub fn new(protocol: ProxyProtocol) -> Self
pub fn push( &mut self, direction: Direction, chunk: &[u8], ) -> Result<Vec<ProxyEvent>, DproxyError>
Auto Trait Implementations§
impl Freeze for StreamDecoder
impl RefUnwindSafe for StreamDecoder
impl Send for StreamDecoder
impl Sync for StreamDecoder
impl Unpin for StreamDecoder
impl UnsafeUnpin for StreamDecoder
impl UnwindSafe for StreamDecoder
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