Allocate next
(&mut self)
| 140 | |
| 141 | // Allocate next |
| 142 | pub fn alloc_next(&mut self) -> Option<Self> |
| 143 | { |
| 144 | let newblk = LinkBlk::alloc()?; |
| 145 | self.set_next_address(newblk.address()); |
| 146 | self.write(); |
| 147 | Some(newblk) |
| 148 | } |
| 149 | |
| 150 | |
| 151 | // Data |
no test coverage detected