pub struct CachePlanner { /* private fields */ }Implementations§
Source§impl CachePlanner
impl CachePlanner
pub fn new(topology: CacheTopology) -> Self
pub fn topology(&self) -> CacheTopology
pub fn runtime(&self) -> CacheRuntime
pub fn plan( &self, request: CachePlanRequest, ) -> Result<CachePlan, CacheModelError>
Trait Implementations§
Source§impl Clone for CachePlanner
impl Clone for CachePlanner
Source§fn clone(&self) -> CachePlanner
fn clone(&self) -> CachePlanner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CachePlanner
impl Debug for CachePlanner
Source§impl PartialEq for CachePlanner
impl PartialEq for CachePlanner
impl Copy for CachePlanner
impl Eq for CachePlanner
Auto Trait Implementations§
impl Freeze for CachePlanner
impl RefUnwindSafe for CachePlanner
impl Send for CachePlanner
impl Sync for CachePlanner
impl Unpin for CachePlanner
impl UnsafeUnpin for CachePlanner
impl UnwindSafe for CachePlanner
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