hyperlane-plugin-websocket 23.3.0

A WebSocket plugin for the Hyperlane framework, providing robust WebSocket communication capabilities and integrating with hyperlane-broadcast for efficient message dissemination.
Documentation
//! hyperlane-plugin-websocket
//!
//! A WebSocket plugin for the Hyperlane framework,
//! providing robust WebSocket communication capabilities and integrating
//! with hyperlane-broadcast for efficient message dissemination.

mod r#const;
mod r#enum;
mod r#fn;
mod r#impl;
mod r#static;
mod r#struct;
mod r#trait;
mod r#type;

#[cfg(test)]
#[path = "../tests/mod.rs"]
mod tests;

pub use {r#enum::*, r#struct::*, r#trait::*};

pub(crate) use {r#const::*, r#fn::*, r#static::*, r#type::*};

use std::{
    array::from_fn,
    cell::{RefCell, RefMut},
    collections::{HashMap, VecDeque},
    convert::Infallible,
    fmt::{self, Debug, Formatter, Write},
    hash::{BuildHasherDefault, Hasher},
    mem::take,
    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
    num::{
        NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize, NonZeroU8,
        NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize,
    },
    pin::{Pin, pin},
    str::from_utf8,
    sync::{
        Arc, Mutex, MutexGuard, OnceLock, RwLock, RwLockReadGuard,
        atomic::{AtomicUsize, Ordering},
    },
};

use {
    hyperlane::{
        tokio::sync::{
            Notify,
            broadcast::{
                Receiver,
                error::{RecvError, SendError, TryRecvError},
            },
            futures::Notified,
        },
        *,
    },
    lombok_macros::*,
    tokio_broadcast::*,
};