#![allow(dead_code)] pub(crate) mod multi; pub(crate) mod raw; pub(crate) mod slot; use std::io; use wayland_client::globals::GlobalError; /// An error that may occur when creating a pool. #[derive(Debug, thiserror::Error)] pub enum CreatePoolError { /// The [`wl_shm`] global is not bound. #[error(transparent)] Global(#[from] GlobalError), /// Error while allocating the shared memory. #[error(transparent)] Create(#[from] io::Error), }