// automatically generated by stateify. package channel import ( "gvisor.dev/gvisor/pkg/state" ) func (x *NotificationHandle) beforeSave() {} func (x *NotificationHandle) save(m state.Map) { x.beforeSave() m.Save("n", &x.n) } func (x *NotificationHandle) afterLoad() {} func (x *NotificationHandle) load(m state.Map) { m.Load("n", &x.n) } func init() { state.Register("pkg/tcpip/link/channel.NotificationHandle", (*NotificationHandle)(nil), state.Fns{Save: (*NotificationHandle).save, Load: (*NotificationHandle).load}) }