Enumeration of locally restricted digraphs