ferrotunnel-common 0.7.0

Common utilities for FerroTunnel
Documentation
ferrotunnel-common-0.7.0 has been yanked.

ferrotunnel-common

Crates.io Documentation

Shared types and error handling for FerroTunnel.

Overview

This crate provides common utilities shared across all FerroTunnel crates:

  • TunnelError - Comprehensive error type for tunnel operations
  • Result<T> - Convenient result type alias

Usage

use ferrotunnel_common::{Result, TunnelError};

fn example() -> Result<()> {
    // Your tunnel logic here
    Ok(())
}

Error Types

  • Io - I/O errors
  • Protocol - Protocol violations
  • Authentication - Auth failures
  • SessionNotFound - Invalid session
  • StreamNotFound - Invalid stream
  • Timeout - Operation timeout
  • Config - Configuration errors
  • Connection - Connection failures

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.