pub struct DittoAttachmentFetcher<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DittoAttachmentFetcher<'a>
impl<'a> DittoAttachmentFetcher<'a>
pub fn new(
token: DittoAttachmentToken,
ditto: Arc<BoxedDitto>,
on_fetch_event: impl Fn(DittoAttachmentFetchEvent) + Send + Sync + 'a
) -> Result<Self, DittoError>
Trait Implementations
sourceimpl<'a> Drop for DittoAttachmentFetcher<'a>
impl<'a> Drop for DittoAttachmentFetcher<'a>
sourceimpl<'a> Observer for DittoAttachmentFetcher<'a>
impl<'a> Observer for DittoAttachmentFetcher<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DittoAttachmentFetcher<'a>
impl<'a> Send for DittoAttachmentFetcher<'a>
impl<'a> Sync for DittoAttachmentFetcher<'a>
impl<'a> Unpin for DittoAttachmentFetcher<'a>
impl<'a> !UnwindSafe for DittoAttachmentFetcher<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more