Enum rust_tcp_ipc::ParseHeaderError
source · pub enum ParseHeaderError {
CommandParseFailed,
LengthParseFailed,
}
Expand description
The error type for parsing a header which was transferred via TCP.
Variants
CommandParseFailed
Parsing of the command failed. This typically indicates that the protocol implementation is incomplete.
LengthParseFailed
Parsing of the length failed, possibly because the length is too large (>=2^32)
Trait Implementations
sourceimpl Clone for ParseHeaderError
impl Clone for ParseHeaderError
sourcefn clone(&self) -> ParseHeaderError
fn clone(&self) -> ParseHeaderError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ParseHeaderError
impl Debug for ParseHeaderError
sourceimpl PartialEq<ParseHeaderError> for ParseHeaderError
impl PartialEq<ParseHeaderError> for ParseHeaderError
sourcefn eq(&self, other: &ParseHeaderError) -> bool
fn eq(&self, other: &ParseHeaderError) -> bool
impl Copy for ParseHeaderError
impl StructuralPartialEq for ParseHeaderError
Auto Trait Implementations
impl RefUnwindSafe for ParseHeaderError
impl Send for ParseHeaderError
impl Sync for ParseHeaderError
impl Unpin for ParseHeaderError
impl UnwindSafe for ParseHeaderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more