The src argument is stored in the schedule as a reference. The associated object must persist for the lifetime of the constructed schedule.