10 lines
221 B
Rust
10 lines
221 B
Rust
use types::bounded::CapSlot;
|
|
|
|
pub const MAX_MESSAGE_WORDS: usize = 4;
|
|
pub const MAX_CAP_TRANSFERS: usize = 4;
|
|
|
|
pub struct Message {
|
|
words: [usize; MAX_MESSAGE_WORDS],
|
|
caps: [Option<CapSlot>; MAX_CAP_TRANSFERS],
|
|
}
|