Ultrafast electron microbunch trains have broad applications in which the individual bunch length and the bunch-to-bunch interval are critical parameters that need to be precisely diagnosed. However, directly measuring these parameters remains challenging. This paper presents an all-optical method that simultaneously measures the individual bunch length and the bunch-to-bunch spacing through an orthogonal THz-driven streak camera. For a 3 MeV electron bunch train, the simulation indicates that the temporal resolution of individual bunch length and the bunch-to-bunch spacing is 2.5 fs and 1 fs, respectively. Through this method, we expect to open a new chapter in the temporal diagnostic of electron bunch trains.