mokomoking2501/lockwire/core does not have a README file
pub(open) trait Medium {
fn submit(Self, TxEvent) -> Array[RxEvent] raise TransportError
fn lookahead(Self) -> Duration
}pub(open) trait Reactor {
fn now(Self) -> VTime
fn schedule(Self, TxEvent) -> Unit raise TransportError
fn run(Self) -> SimDigest raise TransportError
}pub(all) suberror TransportError {
LinkDown
InvalidFrame(String)
UnboundEndpoint(EndpointId)
} derive(Debug)pub(all) struct RxEvent {
id : Int
parent_id : Int
vtime : VTime
channel_id : ChannelId
seq : Int
source : EndpointId
target : EndpointId
frame : Frame
} derive(Eq, Debug)pub(all) struct TxEvent {
id : Int
parent_id : Int?
vtime : VTime
channel_id : ChannelId
seq : Int
source : EndpointId
target : EndpointId
frame : Frame
} derive(Eq, Debug)fn TxEvent::make(id~ : Int, parent_id? : Int, vtime~ : VTime, channel_id~ : ChannelId, seq~ : Int, source~ : EndpointId, target~ : EndpointId, frame~ : Frame) -> TxEventDeterministic run-test substrate for MoonBit
Dependencies