Searched refs:FormattedBytes (Results 1 – 2 of 2) sorted by relevance
177 pub struct CommandError(FormattedBytes<[u8; COMMAND_ERROR_LENGTH]>);194 let mut res = CommandError(FormattedBytes([0u8; COMMAND_ERROR_LENGTH], 0)); in from()362 let mut formatted_bytes = FormattedBytes::new(&mut $arr[..]);783 let mut formatted_bytes = FormattedBytes::new(&mut res); in get_var_all()921 pub struct FormattedBytes<T: AsMut<[u8]>>(T, usize); struct923 impl<T: AsMut<[u8]>> FormattedBytes<T> { implementation945 impl<T: AsMut<[u8]>> core::fmt::Write for FormattedBytes<T> { implementation957 let mut formatted_bytes = FormattedBytes::new(&mut $arr[..]);
18 use fastboot::{next_arg, next_arg_u64, snprintf, CommandError, FormattedBytes};