Skip to main content

parse_notice

Function parse_notice 

Source
pub(crate) fn parse_notice(
    stop_at: Option<u64>,
    reason: Option<&str>,
    idle_minutes: Option<u32>,
    now_ms: u64,
) -> Result<Notice, &'static str>
Expand description

The notice in a request, or why it is refused. A stop needs both a time and a reason id; neither cancels. idleMinutes goes with timer and with nothing else.