[][src]Crate deadyet

Traits

Decodable

Functions

has_dead

Checks if number contains the hex pattern "DEAD".

has_pattern

Checks whether or not the pattern of pattern is within the hex pattern of number.

is_it_dead

Returns whether the current unix timecode contains a DEAD.

next_dead

Returns the tuple (diff, abs) for the time until the next DEAD as well as the unix timestamp of that event.

secs_until_dead

Returns the number of seconds until the next DEAD in the unix timestamp.

to_next_dead
to_next_dead_at_end

Returns time time to the next dead ignoring the lshd least significant hex digits or 0 if after already contains DEAD. In the case that there can be no DEAD after restricting the least significant bits, u64::MAX is returned.

to_next_pattern
to_next_pattern_at_end