impl State<Running> { pub fn next(self, Trigger<Hibernate>) -> State<Hibernate> { State { _inner: Hibernate {} } } pub fn next(self, Trigger<Terminate>) -> State<Terminate> { State { _inner: Terminate {} } } }