pub struct ProtocolSlot;Expand description
Generic Protocol slot placeholder. Bind a concrete protocol at this
slot via the compiler chain
(Compiler::new().bind_protocol::<T>("slot").compile(...)).
Protocols have no user-facing DSL ops on the placeholder itself —
they’re stateful control-plane runtimes that surface via
dispatch_atomic against their per-impl atomic opset
(register_protocol!{} emits the DSL methods for the impl’s own
atomic opset). The placeholder exists solely so Modules can
declare a generic Protocol slot.
Trait Implementations§
Source§impl Clone for ProtocolSlot
impl Clone for ProtocolSlot
Source§fn clone(&self) -> ProtocolSlot
fn clone(&self) -> ProtocolSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProtocolSlot
Source§impl Debug for ProtocolSlot
impl Debug for ProtocolSlot
Source§impl Default for ProtocolSlot
impl Default for ProtocolSlot
Source§fn default() -> ProtocolSlot
fn default() -> ProtocolSlot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtocolSlot
impl RefUnwindSafe for ProtocolSlot
impl Send for ProtocolSlot
impl Sync for ProtocolSlot
impl Unpin for ProtocolSlot
impl UnsafeUnpin for ProtocolSlot
impl UnwindSafe for ProtocolSlot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more