cotton_scsi/
lib.rs

1#![cfg_attr(not(feature = "std"), no_std)]
2#![doc = include_str!("../README.md")]
3#![warn(missing_docs)]
4#![warn(rustdoc::missing_crate_level_docs)]
5#![cfg_attr(docsrs, feature(doc_auto_cfg))]
6#![cfg_attr(docsrs, feature(doc_cfg_hide))]
7#![cfg_attr(docsrs, doc(cfg_hide(doc)))]
8mod debug;
9
10/// A generic SCSI device
11pub mod scsi_device;
12pub use scsi_device::{PeripheralType, ScsiDevice};
13
14/// An abstract communication channel with a SCSI device
15///
16/// Usually, these days, not actual SCSI hardware, but instead SCSI
17/// tunnelled over something else (USB, ATAPI).
18pub mod scsi_transport;
19pub use scsi_transport::{Error, ScsiTransport};
20
21/// A generic asynchronous block device with a "read/write blocks" interface
22pub mod async_block_device;
23pub use async_block_device::{AsyncBlockDevice, DeviceInfo};
24
25/// Implementing AsyncBlockDevice in terms of ScsiDevice
26pub mod scsi_block_device;
27pub use scsi_block_device::ScsiBlockDevice;