pub struct LazyStoreV3 { /* private fields */ }Expand description
Lazy 로드 저장소 (v3 포맷).
MKE3 v3 포맷의 엔트리를 필요할 때만 디스크에서 읽어옵니다.
Implementations§
Source§impl LazyStoreV3
impl LazyStoreV3
Sourcepub const fn new(lazy_entries: LazyEntriesV3) -> LazyStoreV3
pub const fn new(lazy_entries: LazyEntriesV3) -> LazyStoreV3
새 v3 Lazy 저장소 생성.
Sourcepub fn cached_count(&self) -> usize
pub fn cached_count(&self) -> usize
캐시된 엔트리 수 반환
Sourcepub fn set_cache_size(&self, size: usize)
pub fn set_cache_size(&self, size: usize)
캐시 크기 설정
Sourcepub fn clear_cache(&self)
pub fn clear_cache(&self)
캐시 초기화
Trait Implementations§
Source§impl EntryStore for LazyStoreV3
impl EntryStore for LazyStoreV3
Auto Trait Implementations§
impl !Freeze for LazyStoreV3
impl RefUnwindSafe for LazyStoreV3
impl Send for LazyStoreV3
impl Sync for LazyStoreV3
impl Unpin for LazyStoreV3
impl UnsafeUnpin for LazyStoreV3
impl UnwindSafe for LazyStoreV3
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more