Lines Matching defs:CommandError
177 pub struct CommandError(FormattedBytes<[u8; COMMAND_ERROR_LENGTH]>); struct
179 impl CommandError { implementation
186 impl Debug for CommandError { implementation
192 impl<T: Display> From<T> for CommandError { implementation
223 ) -> Result<usize, CommandError>; in get_var() argument
232 ) -> Result<&'s str, CommandError> { in get_var_as_str() argument
274 f: &mut dyn FnMut(&str, &[&str], &str) -> Result<(), CommandError>, in get_var_all() argument
284 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError>; in flash() argument
316 ) -> Result<(), CommandError>; in upload() argument
334 ) -> Result<(), CommandError>; in fetch() argument
353 ) -> Result<&'a [u8], CommandError>; in oem() argument
392 fn send(&mut self, msg: &str) -> Result<(), CommandError>; in send() argument
437 pub fn info_send(&mut self, msg: &str) -> Result<bool, CommandError> { in info_send() argument
465 fn send(&mut self, msg: &str) -> Result<(), CommandError> { in send() argument
483 pub fn start(self, data_size: u64) -> Result<Uploader<'a>, CommandError> { in start() argument
501 pub fn upload(&mut self, data: &[u8]) -> Result<(), CommandError> { in upload() argument
515 ) -> Result<Result<R, CommandError>, TransportError> in with_upload_builder() argument
754 ) -> Result<&'s str, CommandError> { in get_var_str() argument
764 f: &mut dyn FnMut(&str, &[&str], &str) -> Result<(), CommandError>, in get_var_all_with_native() argument
966 pub(crate) fn hex_to_u64(s: &str) -> Result<u64, CommandError> { in hex_to_u64() argument
980 default: Result<&'a str, CommandError>, in next_arg() argument
997 default: Result<u64, CommandError>, in next_arg_u64() argument
1039 ) -> Result<usize, CommandError> { in get_var() argument
1052 f: &mut dyn FnMut(&str, &[&str], &str) -> Result<(), CommandError>, in get_var_all() argument
1061 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError> { in flash() argument
1069 ) -> Result<(), CommandError> { in upload() argument
1080 ) -> Result<(), CommandError> { in fetch() argument
1089 ) -> Result<&'b [u8], CommandError> { in oem() argument