Skip to main content

device

Function device 

Source
fn device(key: &[u8]) -> Option<(&UserId, &DeviceId, bool)>
Expand description

Reads a key as a user id and a device id, as a release build decodes it.

A key with no separator reads as an empty device id, and any records past the second are ignored, which the flag reports.