make ToBeBytes trait public
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
Robin Müller 2022-10-23 18:35:56 +02:00
parent 603f688ac3
commit a2673c9870
No known key found for this signature in database
GPG Key ID: FC76078F520434A5

View File

@ -171,7 +171,7 @@ pub trait EcssEnumeration {
fn write_to_bytes(&self, buf: &mut [u8]) -> Result<(), ByteConversionError>;
}
trait ToBeBytes {
pub trait ToBeBytes {
type ByteArray: AsRef<[u8]>;
fn to_be_bytes(&self) -> Self::ByteArray;
}