pub fn version(&self) -> Option<Version> {
		match *self {
			Output::Success(ref s) => s.jsonrpc,
			Output::Failure(ref f) => f.jsonrpc,
			Output::Notification(ref n) => n.jsonrpc,
		}
	}
/// Get the jsonrpc protocol version.
Get the jsonrpc protocol version.
Get the jsonrpc protocol version .
pub fn version(&self) -> Option<Version> {
		match *self {
			Output::Success(ref s) => s.jsonrpc,
			Output::Failure(ref f) => f.jsonrpc,
			Output::Notification(ref n) => n.jsonrpc,
		}
	}
pub fn version ( & self ) -> Option < Version > { match * self { Output :: Success ( ref s ) => s . jsonrpc , Output :: Failure ( ref f ) => f . jsonrpc , Output :: Notification ( ref n ) => n . jsonrpc , } }
Get the jsonrpc protocol version.
Get the jsonrpc protocol version .
&self