Callable that creates an IOBuf with the requested capacity.
Declared in <folly/io/IOBuf.h>
<folly/io/IOBuf.h>
using IOBufFactory = Function<std::unique_ptr<IOBuf>(size_t)>;