aprs_encode/stack_str.rs
1use crate::errors::PackError;
2
3/// Trait for structs that can pack themselves into the end of a ArrayString
4pub trait PackArrayString {
5
6 /// Try to append self to the end of a ArrayString
7 fn pack_into<const SIZE: usize>(
8 &self,
9 s: &mut arrayvec::ArrayString<SIZE>,
10 ) -> Result<(), PackError>;
11}