dittolive_ditto::store::attachment

Trait DittoAttachmentTokenLike

Source
pub trait DittoAttachmentTokenLike {
    // Required method
    fn parse_attachment_token(self) -> Result<DittoAttachmentToken, DittoError>;
}
Expand description

Trait abstracting over DittoAttachmentToken and a QueryResultItem::value() matching an input DittoAttachment.

Required Methods§

Implementations on Foreign Types§

Source§

impl DittoAttachmentTokenLike for &BTreeMap<CborValue, CborValue>

Source§

impl DittoAttachmentTokenLike for BTreeMap<CborValue, CborValue>

Implementors§