rustyspanner 0.1.1

A RPC Spanner Client for Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use grpcio::Error;

/// Representation of long running operations
pub struct Operation {
    pub name: String,
    pub done: bool,
    pub result: OperationResult,
}

/// Type of operation result
pub enum OperationResult {
    Error(Error),
    Response,
}