gleeps_dev_tools/state_list
Types
pub type Limit {
NoLimit
Latest(count: Int)
WithinRange(starting_at: Int, count: Int)
}
Constructors
-
NoLimit -
Latest(count: Int) -
WithinRange(starting_at: Int, count: Int)
pub type StateInfo {
StateInfo(
version: Int,
byte_size: Int,
last_write: timestamp.Timestamp,
)
}
Constructors
-
StateInfo( version: Int, byte_size: Int, last_write: timestamp.Timestamp, )
Values
pub fn decoder() -> decode.Decoder(Data)
pub fn describe_limit(limit: Limit) -> String
Turn Limit into a human readable string
pub fn limit_decoder() -> decode.Decoder(Limit)