Skip to main content

Crate gorust

Crate gorust 

Source

Re-exports§

pub use channel::Channel;
pub use channel::Sender;
pub use channel::Receiver;
pub use channel::Selectable;
pub use channel::unbounded;
pub use channel::UnboundedSender;
pub use channel::UnboundedReceiver;
pub use channel::BoundedQueue;
pub use channel::SendError;
pub use channel::RecvError;
pub use channel::TryRecvError;
pub use go_runtime::Runtime;
pub use scheduler::go;
pub use scheduler::yield_now;
pub use timer::sleep_ms;
pub use timer::sleep;
pub use g_select::Select;
pub use g_select::SelectOutcome;
pub use g_select::select_builder;
pub use sync::WaitGroup;
pub use sync::AtomicCounter;
pub use sync::Once;
pub use sync::Mutex;
pub use sync::RWMutex;
pub use sync::Pool;
pub use sync::Context;
pub use sync::current_task_id;

Modules§

channel
g_select
go_runtime
net
netpoller
scheduler
stack
sync
timer

Macros§

async_fn
make_chan
make_chan! macro - Create a channel
select
select! macro - Multiplex channel operations

Attribute Macros§

runtime
Mark the main function to use the GoRust runtime