<gh_stars>0
from empire.python.typings import *
from abc import abstractmethod

from empire.deprecated_stuff.structs2.struct_base import StructBase


class PersistableStruct(StructBase):
    @abstractmethod
    def save(self, destination: Any) -> None:
        raise NotImplementedError()

    @abstractmethod
    def load(self, source: Any) -> None:
        raise NotImplementedError()

from empire.python.typings import *
from abc import abstractmethod

from empire.deprecated_stuff.structs2.struct_base import StructBase


class PersistableStruct(StructBase):
    @abstractmethod
    def save(self, destination: Any) -> None:
        raise NotImplementedError()

    @abstractmethod
    def load(self, source: Any) -> None:
        raise NotImplementedError()