Searched refs:ZbiResult (Results 1 – 1 of 1) sorted by relevance
57 type ZbiResult<T> = Result<T, ZbiError>; typedef78 pub fn align_buffer<B: ByteSlice>(buffer: B) -> ZbiResult<B> { in align_buffer()135 pub fn parse(buffer: B) -> ZbiResult<(ZbiItem<B>, B)> { in parse()168 pub fn is_valid(&self) -> ZbiResult<()> { in is_valid() argument222 ) -> ZbiResult<(ZbiItem<B>, B)> { in new()285 fn construct(header: Ref<B, ZbiHeader>, buffer: B) -> ZbiResult<Self> { in construct()323 pub fn is_bootable(&self) -> ZbiResult<()> { in is_bootable() argument347 pub fn parse(buffer: B) -> ZbiResult<Self> { in parse()385 fn set_payload_length_usize(&mut self, len: usize) -> ZbiResult<()> { in set_payload_length_usize() argument400 pub fn new(buffer: B) -> ZbiResult<Self> { in new()[all …]