Enum netbios_parser::NetbiosError [−][src]
pub enum NetbiosError<I> where
I: Debug, {
Generic,
InvalidNameLength,
InvalidQuestion,
InvalidAnswer,
NomError(I, ErrorKind),
}
Expand description
An error that can occur while parsing or validating a NetBIOS packet.
Variants
Trait Implementations
Performs the conversion.
Creates an error from the input position and an [ErrorKind]
Combines an existing error with a new one created from the input position and an [ErrorKind]. This is useful when backtracking through a parse tree, accumulating error context on the way Read more
Creates an error from an input position and an expected character
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.