Struct dittolive_ditto::store::ditto_attachment::DittoAttachment [−][src]
pub struct DittoAttachment { /* fields omitted */ }
Implementations
pub fn new(
id: Box<[u8]>,
len: u64,
metadata: HashMap<String, String>,
ditto: Arc<BoxedDitto>,
attachment_handle: BoxedAttachmentHandle
) -> Self
pub fn new_with_token(
token: DittoAttachmentToken,
ditto: Arc<BoxedDitto>,
attachment_handle: BoxedAttachmentHandle
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DittoAttachment
impl Send for DittoAttachment
impl Sync for DittoAttachment
impl Unpin for DittoAttachment
impl UnwindSafe for DittoAttachment
Blanket Implementations
Mutably borrows from an owned value. Read more