Function milter::shutdown[][src]

pub fn shutdown()
Expand description

Instructs the libmilter library to exit its event loop, thereby shutting down any currently running milter.

A call to shutdown performs a graceful termination of a milter. It causes a currently executing blocking call to Milter::run to return. Note that shutdown is a terminal operation which disables any further executions of Milter::run in this process.