ginmi 0.1.3

An asynchrounous gNMI client to interact with and manage network devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[derive(thiserror::Error, Debug)]
pub enum GinmiError {
    #[error("error connecting to endpoint: {}", .0)]
    TransportError(#[from] tonic::transport::Error),
    #[error("invalid uri passed as target: {}", .0)]
    InvalidUriError(String),
    #[error("invalid header in grpc request: {}", .0)]
    InvalidHeaderValue(#[from] tonic::metadata::errors::InvalidMetadataValue),
    #[error("error communicating with target device: {}", .0)]
    GrpcError(#[from] tonic::Status),
}