Skip to main content

skip

Attribute Macro skip 

Source
#[skip]
Expand description

Leaves one method off the generated handle trait.

ⓘ
#[actify]
impl Store {
    fn len(&self) -> usize { self.entries.len() }

    #[actify::skip]
    fn merge(&mut self, other: &Store) { .. }
}

The method stays on the type and is unchanged. It is not validated, so it may take or return references, which an actor call cannot express.

Expands to nothing: #[actify] reads it and strips it from the output.