This module defines the basic signatures that functor parameters should implement in MirageOS to be portable.
Ok xmeans the operation was succesful and returns
Error emeans the operation has failed with error
e. The error
euses the Rresult.R.msg type for the most general error message, and possibly more specific ones depending on the interface.
type +'a iowhich allow the application to either wait for the I/O to be completed or leave it running asynchronously. If the I/O completes with an error then the operation may have completely failed, partially succeeded or even completely succeeded (e.g. it may only be a confirmation message in a network protocol which was missed): see individual API descriptions for details.