pub fn new_protocol_error<S: Into<String>>(
kind: ProtocolErrorKind,
message: S,
) -> ErrorExpand description
Create a new Error instance of type Protocol that wraps a
ProtocolError.
pub fn new_protocol_error<S: Into<String>>(
kind: ProtocolErrorKind,
message: S,
) -> ErrorCreate a new Error instance of type Protocol that wraps a
ProtocolError.