pub struct Socket<P: AsRef<Path>> {
pub socket_path: P,
}Expand description
Use a Unix socket connection to communicate with a ClamAV server
Fields§
§socket_path: PThe socket file path of the ClamAV server
Trait Implementations§
impl<P: Copy + AsRef<Path>> Copy for Socket<P>
Auto Trait Implementations§
impl<P> Freeze for Socket<P>where
P: Freeze,
impl<P> RefUnwindSafe for Socket<P>where
P: RefUnwindSafe,
impl<P> Send for Socket<P>where
P: Send,
impl<P> Sync for Socket<P>where
P: Sync,
impl<P> Unpin for Socket<P>where
P: Unpin,
impl<P> UnwindSafe for Socket<P>where
P: UnwindSafe,
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