pub struct TcpStreamCapture(/* private fields */);
Implementations§
Source§impl TcpStreamCapture
impl TcpStreamCapture
pub fn from_live(device: &LiveDevice, ctx: Context) -> Self
pub fn from_file(filename: &Path, ctx: Context) -> Self
pub fn set_filter(&mut self, filter: &str) -> Result<(), CaptureError>
pub fn clear_filter(&mut self) -> Result<(), CaptureError>
pub fn start_capturing(&mut self) -> Result<(), CaptureError>
pub fn stop_capturing(&mut self)
Auto Trait Implementations§
impl Freeze for TcpStreamCapture
impl RefUnwindSafe for TcpStreamCapture
impl !Send for TcpStreamCapture
impl !Sync for TcpStreamCapture
impl Unpin for TcpStreamCapture
impl UnwindSafe for TcpStreamCapture
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