Skip to main content

Module prelude

Module prelude 

Source
Expand description

Everything a small program usually wants, in one use.

Deliberately tiny. A prelude that pulls in a framework is how a standard library stops being one.

Re-exports§

pub use crate::error::Error;
pub use crate::file::File;
pub use crate::fs::Fs;
pub use crate::net::Net;
pub use crate::io;

Structs§

ServiceContext
Passed by the kernel to service_main. Non-Copy; one per service instance.