feat: Fs and tiered - #4
Merged
Merged
Conversation
Public API Changesimpl<Hot, Cold> !core::panic::unwind_safe::RefUnwindSafe for trillium_cache::TieredPutHandle<Hot, Cold> impl<Hot, Cold> !core::panic::unwind_safe::RefUnwindSafe for trillium_cache::TieredStorage<Hot, Cold> impl<Hot, Cold> !core::panic::unwind_safe::UnwindSafe for trillium_cache::TieredPutHandle<Hot, Cold> impl<Hot, Cold> !core::panic::unwind_safe::UnwindSafe for trillium_cache::TieredStorage<Hot, Cold> impl<Hot, Cold> core::clone::Clone for trillium_cache::TieredEntry<Hot, Cold> where Hot: trillium_cache::CacheStorage + core::clone::Clone, Cold: trillium_cache::CacheStorage impl<Hot, Cold> core::marker::Freeze for trillium_cache::TieredEntry<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::StoredEntry: core::marker::Freeze, <Cold as trillium_cache::CacheStorage>::StoredEntry: core::marker::Freeze, Hot: core::marker::Freeze impl<Hot, Cold> core::marker::Freeze for trillium_cache::TieredPutHandle<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::PutHandle: core::marker::Freeze, Hot: core::marker::Freeze, Cold: core::marker::Freeze impl<Hot, Cold> core::marker::Freeze for trillium_cache::TieredStorage<Hot, Cold> where Hot: core::marker::Freeze, Cold: core::marker::Freeze impl<Hot, Cold> core::marker::Send for trillium_cache::TieredEntry<Hot, Cold> impl<Hot, Cold> core::marker::Send for trillium_cache::TieredPutHandle<Hot, Cold> impl<Hot, Cold> core::marker::Send for trillium_cache::TieredStorage<Hot, Cold> where Hot: core::marker::Send, Cold: core::marker::Send impl<Hot, Cold> core::marker::Sync for trillium_cache::TieredEntry<Hot, Cold> impl<Hot, Cold> core::marker::Sync for trillium_cache::TieredPutHandle<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::PutHandle: core::marker::Sync impl<Hot, Cold> core::marker::Sync for trillium_cache::TieredStorage<Hot, Cold> where Hot: core::marker::Sync, Cold: core::marker::Sync impl<Hot, Cold> core::marker::Unpin for trillium_cache::TieredEntry<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::StoredEntry: core::marker::Unpin, <Cold as trillium_cache::CacheStorage>::StoredEntry: core::marker::Unpin, Hot: core::marker::Unpin impl<Hot, Cold> core::marker::Unpin for trillium_cache::TieredStorage<Hot, Cold> where Hot: core::marker::Unpin, Cold: core::marker::Unpin impl<Hot, Cold> core::marker::UnsafeUnpin for trillium_cache::TieredEntry<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::StoredEntry: core::marker::UnsafeUnpin, <Cold as trillium_cache::CacheStorage>::StoredEntry: core::marker::UnsafeUnpin, Hot: core::marker::UnsafeUnpin impl<Hot, Cold> core::marker::UnsafeUnpin for trillium_cache::TieredPutHandle<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::PutHandle: core::marker::UnsafeUnpin, Hot: core::marker::UnsafeUnpin, Cold: core::marker::UnsafeUnpin impl<Hot, Cold> core::marker::UnsafeUnpin for trillium_cache::TieredStorage<Hot, Cold> where Hot: core::marker::UnsafeUnpin, Cold: core::marker::UnsafeUnpin impl<Hot, Cold> core::panic::unwind_safe::RefUnwindSafe for trillium_cache::TieredEntry<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::StoredEntry: core::panic::unwind_safe::RefUnwindSafe, <Cold as trillium_cache::CacheStorage>::StoredEntry: core::panic::unwind_safe::RefUnwindSafe, Hot: core::panic::unwind_safe::RefUnwindSafe impl<Hot, Cold> core::panic::unwind_safe::UnwindSafe for trillium_cache::TieredEntry<Hot, Cold> where <Hot as trillium_cache::CacheStorage>::StoredEntry: core::panic::unwind_safe::UnwindSafe, <Cold as trillium_cache::CacheStorage>::StoredEntry: core::panic::unwind_safe::UnwindSafe, Hot: core::panic::unwind_safe::UnwindSafe impl<Hot, Cold> trillium_cache::CacheStorage for trillium_cache::TieredStorage<Hot, Cold> where Hot: trillium_cache::CacheStorage + core::clone::Clone, Cold: trillium_cache::CacheStorage + core::clone::Clone impl<Hot, Cold> trillium_cache::PutHandle for trillium_cache::TieredPutHandle<Hot, Cold> where Hot: trillium_cache::CacheStorage + core::clone::Clone, Cold: trillium_cache::CacheStorage impl<Hot, Cold> trillium_cache::StoredEntry for trillium_cache::TieredEntry<Hot, Cold> where Hot: trillium_cache::CacheStorage + core::clone::Clone, Cold: trillium_cache::CacheStorage impl<Hot, Cold> trillium_cache::TieredStorage<Hot, Cold> impl<Hot: core::clone::Clone, Cold: core::clone::Clone> core::clone::Clone for trillium_cache::TieredStorage<Hot, Cold> impl<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> core::fmt::Debug for trillium_cache::TieredEntry<Hot, Cold> impl<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> core::fmt::Debug for trillium_cache::TieredPutHandle<Hot, Cold> impl<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> core::fmt::Debug for trillium_cache::TieredStorage<Hot, Cold> impl<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> core::marker::Unpin for trillium_cache::TieredPutHandle<Hot, Cold> impl<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> futures_io::if_std::AsyncWrite for trillium_cache::TieredPutHandle<Hot, Cold> pub async fn trillium_cache::TieredEntry<Hot, Cold>::open(self) -> core::io::error::Result<trillium_http::body::Body> pub async fn trillium_cache::TieredEntry<Hot, Cold>::refresh_policy(&mut self, trillium_cache::CachePolicy) -> core::io::error::Result<()> pub async fn trillium_cache::TieredPutHandle<Hot, Cold>::finalize(self, core::option::Option<trillium_http::headers::Headers>) -> core::io::error::Result<()> pub async fn trillium_cache::TieredStorage<Hot, Cold>::get(&self, &trillium_cache::CacheKey) -> alloc::vec::Vec<Self::StoredEntry> pub async fn trillium_cache::TieredStorage<Hot, Cold>::invalidate(&self, &trillium_cache::CacheKey) pub async fn trillium_cache::TieredStorage<Hot, Cold>::put(&self, trillium_cache::CacheKey, trillium_cache::CachePolicy) -> core::io::error::Result<Self::PutHandle> pub enum trillium_cache::TieredEntry<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> pub fn trillium_cache::TieredEntry<Hot, Cold>::clone(&self) -> Self pub fn trillium_cache::TieredEntry<Hot, Cold>::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn trillium_cache::TieredEntry<Hot, Cold>::policy(&self) -> &trillium_cache::CachePolicy pub fn trillium_cache::TieredPutHandle<Hot, Cold>::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn trillium_cache::TieredPutHandle<Hot, Cold>::poll_close(core::pin::Pin<&mut Self>, &mut core::task::wake::Context<'_>) -> core::task::poll::Poll<core::io::error::Result<()>> pub fn trillium_cache::TieredPutHandle<Hot, Cold>::poll_flush(core::pin::Pin<&mut Self>, &mut core::task::wake::Context<'_>) -> core::task::poll::Poll<core::io::error::Result<()>> pub fn trillium_cache::TieredPutHandle<Hot, Cold>::poll_write(core::pin::Pin<&mut Self>, &mut core::task::wake::Context<'_>, &[u8]) -> core::task::poll::Poll<core::io::error::Result<usize>> pub fn trillium_cache::TieredStorage<Hot, Cold>::clone(&self) -> Self pub fn trillium_cache::TieredStorage<Hot, Cold>::cold(&self) -> &Cold pub fn trillium_cache::TieredStorage<Hot, Cold>::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn trillium_cache::TieredStorage<Hot, Cold>::hot(&self) -> &Hot pub fn trillium_cache::TieredStorage<Hot, Cold>::new(Hot, Cold, impl trillium_server_common::runtime::runtime_trait::RuntimeTrait) -> Self pub struct trillium_cache::TieredPutHandle<Hot: trillium_cache::CacheStorage, Cold: trillium_cache::CacheStorage> pub struct trillium_cache::TieredStorage<Hot, Cold> pub trillium_cache::TieredEntry::Cold pub trillium_cache::TieredEntry::Cold::entry: <Cold as trillium_cache::CacheStorage>::StoredEntry pub trillium_cache::TieredEntry::Cold::hot: Hot pub trillium_cache::TieredEntry::Cold::key: trillium_cache::CacheKey pub trillium_cache::TieredEntry::Hot(<Hot as trillium_cache::CacheStorage>::StoredEntry) pub type trillium_cache::TieredStorage<Hot, Cold>::PutHandle = trillium_cache::TieredPutHandle<Hot, Cold> pub type trillium_cache::TieredStorage<Hot, Cold>::StoredEntry = trillium_cache::TieredEntry<Hot, Cold> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.