Searched refs:BootConfigError (Results 1 – 3 of 3) sorted by relevance
23 pub enum BootConfigError { enum31 pub type Result<T> = core::result::Result<T, BootConfigError>;52 return Err(BootConfigError::BufferTooSmall); in new()99 return Err(BootConfigError::BufferTooSmall); in add()113 self.current_size.try_into().map_err(|_| BootConfigError::ArithmeticOverflow)?; in update_trailer()147 .ok_or(BootConfigError::BufferTooSmall)? in write_str()273 assert!(builder.add_with(|_| Err(BootConfigError::GenericReaderError(123))).is_err()); in test_add_with_error()
17 use bootconfig::BootConfigError;50 BootConfigError(BootConfigError),
19 use bootconfig::{BootConfigBuilder, BootConfigError};241 .map_err(|_| BootConfigError::GenericReaderError(-1))?; in load_android_simple()256 .map_err(|_| BootConfigError::GenericReaderError(-1))?; in load_android_simple()259 .map_err(|_| BootConfigError::GenericReaderError(-1))? in load_android_simple()