Skip to main content

Crate wireshift_core

Crate wireshift_core 

Source
Expand description

Core primitives for wireshift.

wireshift-core defines the typed operation model, pooled buffer lifecycle, completion routing, and backend traits that every higher-level crate in the workspace builds on.

Re-exports§

pub use backend::AnyBackend;
pub use backend::Backend;
pub use backend::BackendCompletion;
pub use backend::BackendFactory;
pub use backend::BackendKind;
pub use backend::BoxedBackend;
pub use buffer::Buffer;
pub use buffer::BufferPool;
pub use buffer::Completed;
pub use buffer::Owned;
pub use buffer::Submitted;
pub use completion::CompletionEvent;
pub use completion::CompletionKind;
pub use completion::Request;
pub use config::BackendPreference;
pub use config::RegisteredBufferConfig;
pub use config::RingConfig;
pub use error::Error;
pub use error::Result;
pub use op::Op;
pub use ring::ChainContext;
pub use ring::Ring;

Modules§

backend
Backend abstractions used by the generic ring.
buffer
Type-state buffer pool.
completion
Completion types and typed request handles.
config
Ring configuration types.
error
Error types for wireshift.
op
Operation trait and erased descriptor types.
ops
Built-in core operations.
ring
Ring manager and completion routing.
strategy
Completion drain strategies.