pub struct Tcp<A: AsyncToSocketAddrs> {
pub host_address: A,
}Expand description
Use a TCP connection to communicate with a ClamAV server
Fields§
§host_address: AThe address (host and port) of the ClamAV server
Trait Implementations§
Source§impl<A: AsyncToSocketAddrs> TransportProtocol for Tcp<A>
impl<A: AsyncToSocketAddrs> TransportProtocol for Tcp<A>
impl<A: Copy + AsyncToSocketAddrs> Copy for Tcp<A>
Auto Trait Implementations§
impl<A> Freeze for Tcp<A>where
A: Freeze,
impl<A> RefUnwindSafe for Tcp<A>where
A: RefUnwindSafe,
impl<A> Send for Tcp<A>where
A: Send,
impl<A> Sync for Tcp<A>where
A: Sync,
impl<A> Unpin for Tcp<A>where
A: Unpin,
impl<A> UnwindSafe for Tcp<A>where
A: 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