Select the types of activity you want to include in your feed.
1#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] 2pub struct MemoryBudget(u64); 3 4impl MemoryBudget { 5 pub const fn new(bytes: u64) -> Self { 6 Self(bytes) 7 } 8 9 pub const fn bytes(self) -> u64 { 10 self.0 11 } 12}