Skip to main content

read_by_id

Function read_by_id 

pub fn read_by_id(
    store: &Rc<dyn DurableStore>,
    package: &str,
    room: &str,
    id: &RecordId,
) -> Result<AutoCommit, TransferError>
Expand description

A live record of package in room by its id alone, whatever its kind: what another device asks for when all it knows is the id.

ยงErrors

A missing, retired, foreign-room or malformed record, or storage failure.