Fast and robust atproto CAR file processing in rust
14
fork

Configure Feed

Select the types of activity you want to include in your feed.

impl processable for string

phil 20edd604 4f4e8566

+6
+6
src/process.rs
··· 77 77 } 78 78 } 79 79 80 + impl Processable for String { 81 + fn get_size(&self) -> usize { 82 + self.capacity() 83 + } 84 + } 85 + 80 86 impl<Item: Sized + Processable> Processable for Vec<Item> { 81 87 fn get_size(&self) -> usize { 82 88 let slot_size = std::mem::size_of::<Item>();