Skip to main content

note_existence

Function note_existence 

Source
pub(crate) fn note_existence(
    objects: &TrackExistence,
    at: ObjectLocation,
    role: ObjectRole,
    properties: &[u8],
) -> Result<(), EndpointError>
Expand description

Record what one received Object says about which Objects exist.

A Normal Object exists. Its Prior Group ID Gap (Section 10.8) and Prior Object ID Gap (Section 10.9) say that “the number of Groups prior to the current Group” and “the number of Objects prior to the current Object” “do not, and will never, exist”. Either record contradicting the other is the EndpointError::ObjectExistenceContradicted Malformed Track.

A properties block that does not parse records nothing: the reader that decoded the Object has already refused it.