pub struct StoreSpec<'path> {
pub path_to_store: &'path str,
pub valid_hashbytes: HalfBytesMask,
pub valid_restbytes: HalfBytesMask,
pub hashbytes_len: u8,
}
Fields§
§path_to_store: &'path str
path to store without trailing slash
valid_hashbytes: HalfBytesMask
compressed map of allowed ASCII characters in hash part
valid_restbytes: HalfBytesMask
compressed map of allowed ASCII characters in part after hash
hashbytes_len: u8
exact length of hash part of store paths
Implementations§
Auto Trait Implementations§
impl<'path> Freeze for StoreSpec<'path>
impl<'path> RefUnwindSafe for StoreSpec<'path>
impl<'path> Send for StoreSpec<'path>
impl<'path> Sync for StoreSpec<'path>
impl<'path> Unpin for StoreSpec<'path>
impl<'path> UnwindSafe for StoreSpec<'path>
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