Struct sbp::sbp_string::Unterminated [−][src]
pub struct Unterminated;
Expand description
Handles encoding and decoding of unterminated strings.
In SBP an unterminated string is a sequence of characters without a NULL terminator to indicate the end of the string. Unterminated strings can only appear at the end of an SBP payload, their length is indicated by the remaining length of payload when processing incoming data.
For example, the string “text” would be represented on the wire as
text
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Unterminated
impl Send for Unterminated
impl Sync for Unterminated
impl Unpin for Unterminated
impl UnwindSafe for Unterminated
Blanket Implementations
Mutably borrows from an owned value. Read more