pub struct IntelCache { /* private fields */ }Implementations§
Source§impl IntelCache
impl IntelCache
pub fn open(path: impl AsRef<Path>) -> Result<Self>
pub fn upsert_items(&self, items: &[IntelItem]) -> Result<usize>
pub fn items(&self, limit: usize) -> Result<Vec<IntelItem>>
pub fn digests(&self, limit: usize) -> Result<Vec<IntelDigest>>
pub fn backlog(&self, limit: usize) -> Result<Vec<BacklogTicket>>
pub fn etag_for_url(&self, url: &str) -> Result<Option<String>>
Auto Trait Implementations§
impl Freeze for IntelCache
impl RefUnwindSafe for IntelCache
impl Send for IntelCache
impl Sync for IntelCache
impl Unpin for IntelCache
impl UnsafeUnpin for IntelCache
impl UnwindSafe for IntelCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more