Macro hermes_ipfs::pin_mut

source ·
macro_rules! pin_mut {
    ($($x:ident),* $(,)?) => { ... };
}
Expand description

libp2p re-exports. Pins a value on the stack.

§Example

let foo = Foo { /* ... */ };
pin_mut!(foo);
let _: Pin<&mut Foo> = foo;