blob: 65d3c5903c16a638045ccbaa9781f6ee50bcbcde (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#![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),
}
|