pub enum WireError {
Truncated,
BadTag,
UnsupportedDomain,
}Expand description
Failure decoding (or encoding) a PipelinePacket.
Variants§
Truncated
The buffer ended mid-field (a truncated or corrupt message).
BadTag
An unknown version byte, packet tag, enum discriminant, or invalid UTF-8
in a string field. Also reported for a packet with no wire tag at all (a
runner-internal PipelinePacket::Tick).
UnsupportedDomain
A device-resident / foreign memory domain that cannot be serialized over
a byte transport (only MemoryDomain::System / SystemView can).
Trait Implementations§
impl Copy for WireError
impl Eq for WireError
impl StructuralPartialEq for WireError
Auto Trait Implementations§
impl Freeze for WireError
impl RefUnwindSafe for WireError
impl Send for WireError
impl Sync for WireError
impl Unpin for WireError
impl UnsafeUnpin for WireError
impl UnwindSafe for WireError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more