Enum peertalk::ProtocolError [−][src]
pub enum ProtocolError {
InvalidMessageType(String),
InvalidPlistEntry,
InvalidPlistEntryForKey(&'static str),
InvalidPacketType(u32),
InvalidProtocol(u32),
InvalidReplyCode(u32),
IoError(IoError),
}
Expand description
Error type for any errors with talking to USB muxer/device support
Variants
InvalidMessageType(String)
Message type is invalid, or unsupported
Tuple Fields of InvalidMessageType
0: String
Plist entry isn’t the type expected
InvalidPlistEntryForKey(&'static str)
Plist entry for key is invalid/wrong type
Tuple Fields of InvalidPlistEntryForKey
0: &'static str
InvalidPacketType(u32)
Invalid packet type value
Tuple Fields of InvalidPacketType
0: u32
InvalidProtocol(u32)
Invalid protocol value (expect 0 or 1)
Tuple Fields of InvalidProtocol
0: u32
InvalidReplyCode(u32)
Invalid reply code (expect 0-6 except 4, 5)
Tuple Fields of InvalidReplyCode
0: u32
IoError(IoError)
An IO error occurred, usually if reading from file/socket
Tuple Fields of IoError
0: IoError
Trait Implementations
Performs the conversion.