Module prelude

Source
Expand description

A “prelude” of common FIDL traits, to be used like use fidl::prelude::*;.

This module re-exports traits using the as _ syntax, so the glob import only brings traits into scope for resolving methods and constants. It does not import the trait names themselves.

Re-exports§

pub use crate::endpoints::ControlHandle as _;
pub use crate::endpoints::DiscoverableProtocolMarker as _;
pub use crate::endpoints::ProtocolMarker as _;
pub use crate::endpoints::Proxy as _;
pub use crate::endpoints::RequestStream as _;
pub use crate::endpoints::Responder as _;
pub use crate::endpoints::MemberOpener as _;
pub use crate::endpoints::ServiceMarker as _;
pub use crate::endpoints::ServiceProxy as _;
pub use crate::endpoints::ServiceRequest as _;
pub use crate::handle::AsHandleRef as _;