enum

MinknowApi::Keystore::Lifetime

Inherits Enum < Comparable < Value < Object

Constants

UNTIL_NEXT_PROTOCOL_START = 0
UNTIL_PROTOCOL_END = 1
UNTIL_INSTANCE_END = 2
PERSIST_ACROSS_RESTARTS = 3

Class methods

from_raw?(raw : Int32) : self | Nil
Source

Instance methods

persist_across_restarts?

Returns true if this enum value equals PERSIST_ACROSS_RESTARTS

Source
until_instance_end?

Returns true if this enum value equals UNTIL_INSTANCE_END

Source
until_next_protocol_start?

Returns true if this enum value equals UNTIL_NEXT_PROTOCOL_START

Source
until_protocol_end?

Returns true if this enum value equals UNTIL_PROTOCOL_END

Source