use crateFlareError;
use Arc;
/// Represents events that occur on a connection.
///
/// This enum is used by the `ConnectionObserver` to react to various
/// states and data received on a connection.
/// An observer for connection events.
///
/// Implement this trait to react to events like connection establishment,
/// disconnection, and incoming messages. Observers are registered with
/// a `Connection` instance.
/// A type alias for a thread-safe, reference-counted observer.
pub type ArcObserver = ;