Searched refs:ZbiItem (Results 1 – 1 of 1) sorted by relevance
94 pub struct ZbiItem<B: ByteSlice> { struct101 impl<B: ByteSlice, C: ByteSlice> PartialEq<ZbiItem<C>> for ZbiItem<B> { implementation102 fn eq(&self, other: &ZbiItem<C>) -> bool { in eq()108 impl<B: ByteSlice + PartialEq> ZbiItem<B> { impl135 pub fn parse(buffer: B) -> ZbiResult<(ZbiItem<B>, B)> { in parse()147 let item = ZbiItem { header: hdr, payload: item_payload }; in parse()183 impl<B: ByteSliceMut + PartialEq> ZbiItem<B> { impl222 ) -> ZbiResult<(ZbiItem<B>, B)> { in new()250 Ok((ZbiItem { header, payload }, tail)) in new()330 Some(ZbiItem { header, payload: _ }) if header.type_ == ZBI_ARCH_KERNEL_TYPE as u32 => { in is_bootable()[all …]