[][src]Function milter::shutdown

pub fn shutdown()

Instructs the milter 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 this is a terminal operation which disables any further executions of Milter::run in this process.