class
PeerStatus(builtins.str, enum.Enum):
5class PeerStatus(str, Enum): 6 """Informs about the peer status""" 7 8 CONNECTED = "connected" 9 DISCONNECTED = "disconnected" 10 11 def __str__(self) -> str: 12 return str(self.value)
Informs about the peer status
CONNECTED =
<PeerStatus.CONNECTED: 'connected'>
DISCONNECTED =
<PeerStatus.DISCONNECTED: 'disconnected'>
Inherited Members
- enum.Enum
- name
- value
- builtins.str
- encode
- replace
- split
- rsplit
- join
- capitalize
- casefold
- title
- center
- count
- expandtabs
- find
- partition
- index
- ljust
- lower
- lstrip
- rfind
- rindex
- rjust
- rstrip
- rpartition
- splitlines
- strip
- swapcase
- translate
- upper
- startswith
- endswith
- removeprefix
- removesuffix
- isascii
- islower
- isupper
- istitle
- isspace
- isdecimal
- isdigit
- isnumeric
- isalpha
- isalnum
- isidentifier
- isprintable
- zfill
- format
- format_map
- maketrans