Skip to main content

omitted_slot_term

Function omitted_slot_term 

Source
pub fn omitted_slot_term(bound: Option<&EncodedTerm>) -> EncodedTerm
Expand description

Term a receiver puts back for a slot the sender omitted.

A bound slot restores its request term exactly; a slot nothing reads reads as the counted-presence sentinel (ENCODED_TERM_TRUE) rather than as a value that could be mistaken for data. EncodedTerm::Placeholder is not usable here: it neither encodes to nor decodes from a key.