usecrate::{Error, Reader};/// A trait for types that can be decoded from a `Reader`.
pubtraitDecode<Ctx = ()>: Sized
where
Self::Error: From<Error>,
{typeError;/// Decodes a value of this type from the given reader.
fndecode(r:&mutReader<'_, Ctx>)->Result<Self, Self::Error>;}