Sales-Type vs. Direct-Financing Leases

Can someone please explain the difference between the accounting for a Sales-Type Lease and a Direct-Financing Lease? Specifically, how the lessor would account for them when it comes to initial and subsequent recognition?