enum MinknowApi::Keystore::Lifetime

Defined in:

generated/minknow_api/keystore.pb.cr

Enum Members

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

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_raw?(raw : Int32) : self | Nil #

[View source]

Instance Method Detail

def persist_across_restarts? #

Returns true if this enum value equals PERSIST_ACROSS_RESTARTS


[View source]
def until_instance_end? #

Returns true if this enum value equals UNTIL_INSTANCE_END


[View source]
def until_next_protocol_start? #

Returns true if this enum value equals UNTIL_NEXT_PROTOCOL_START


[View source]
def until_protocol_end? #

Returns true if this enum value equals UNTIL_PROTOCOL_END


[View source]