rivulets_driver/lib.rs
1#![cfg_attr(not(feature = "std"), no_std)]
2
3pub mod stream;
4pub mod element;
5pub mod port;
6pub mod info;
7pub mod databus;
8pub mod payload;
9
10#[derive(Debug)]
11pub enum Error {
12 /// Invalid parameters provided.
13 InvalidParameter,
14 /// Device is not initialized.
15 NotInitialized,
16 /// Device is in an invalid state for the requested operation.
17 InvalidState,
18 /// Device is busy.
19 Busy,
20 /// Operation timed out.
21 Timeout,
22 /// Buffer is full.
23 BufferFull,
24 /// Buffer is empty.
25 BufferEmpty,
26 /// Device hardware error.
27 DeviceError,
28 /// Operation not supported.
29 Unsupported,
30}