Skip to main content

too_large

Function too_large 

Source
fn too_large(
    (target, event): (&DeviceIdOrAllDevices, &Raw<AnyToDeviceEventContent>),
) -> bool
Expand description

Whether one message is too large to queue.

Its content may not pass MAX_CONTENT_BYTES. No device can have an ID past MAX_DEVICE_ID_LENGTH, so neither may its recipient.