pub fn invalid_request(id: Id, jsonrpc: Option<Version>) -> Self {
		Output::Failure(Failure {
			id: id,
			jsonrpc: jsonrpc,
			error: Error::new(ErrorCode::InvalidRequest),
		})
	}
/// Creates new failure output indicating malformed request.
Creates new failure output indicating malformed request.
Creates new failure output indicating malformed request .
pub fn invalid_request(id: Id, jsonrpc: Option<Version>) -> Self {
		Output::Failure(Failure {
			id: id,
			jsonrpc: jsonrpc,
			error: Error::new(ErrorCode::InvalidRequest),
		})
	}
pub fn invalid_request ( id : Id , jsonrpc : Option < Version > ) -> Self { Output :: Failure ( Failure { id : id , jsonrpc : jsonrpc , error : Error :: new ( ErrorCode :: InvalidRequest ) , } ) }
Creates new failure output indicating malformed request.
Creates new failure output indicating malformed request .
id
Id
jsonrpc
Option<Version>
id
Id
jsonrpc
Option<Version>