shared_rwlock/
errors.rs

1/// Defines errors that may occur when working with `MemoryMap`.
2#[derive(Debug, Clone, PartialEq, Eq, snafu::Snafu)]
3pub enum LockError {
4    #[cfg(target_os = "windows")]
5    #[snafu(transparent)]
6    WindowsError { source: crate::sys::MemoryMapError },
7}