Skip to main content

negotiate

Function negotiate 

Source
pub fn negotiate(
    offer: &[FormatId],
    accepts: &[FormatId],
    transforms: &[TransformSpec],
) -> Result<Plan, Refusal>
Expand description

The plan of a paste: the first accepted format the offer has, or one a transform makes from it; nothing: why not.