pub struct PolicyLintPlugin<S: FlowState> { /* private fields */ }Expand description
Policy lint plugin — applies lint policies to a flow definition.
Implementations§
Source§impl<S: FlowState> PolicyLintPlugin<S>
impl<S: FlowState> PolicyLintPlugin<S>
pub fn new(policies: Vec<FlowPolicy<S>>) -> Self
pub fn defaults() -> Self
pub fn analyze(&self, definition: &FlowDefinition<S>, report: &mut PluginReport)
Auto Trait Implementations§
impl<S> Freeze for PolicyLintPlugin<S>
impl<S> !RefUnwindSafe for PolicyLintPlugin<S>
impl<S> Send for PolicyLintPlugin<S>
impl<S> Sync for PolicyLintPlugin<S>
impl<S> Unpin for PolicyLintPlugin<S>
impl<S> UnsafeUnpin for PolicyLintPlugin<S>
impl<S> !UnwindSafe for PolicyLintPlugin<S>
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