pub struct PluginTaskOutcome<T> {
pub output: T,
pub events: Vec<PluginRuntimeEvent>,
pub directives: Vec<PluginRuntimeDirective>,
}Fields§
§output: T§events: Vec<PluginRuntimeEvent>§directives: Vec<PluginRuntimeDirective>Implementations§
Source§impl<T> PluginTaskOutcome<T>
impl<T> PluginTaskOutcome<T>
pub fn new(output: T) -> Self
pub fn with_events(self, events: Vec<PluginRuntimeEvent>) -> Self
pub fn with_directives(self, directives: Vec<PluginRuntimeDirective>) -> Self
Trait Implementations§
Source§impl<T: Clone> Clone for PluginTaskOutcome<T>
impl<T: Clone> Clone for PluginTaskOutcome<T>
Source§fn clone(&self) -> PluginTaskOutcome<T>
fn clone(&self) -> PluginTaskOutcome<T>
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 moreAuto Trait Implementations§
impl<T> !RefUnwindSafe for PluginTaskOutcome<T>
impl<T> !UnwindSafe for PluginTaskOutcome<T>
impl<T> Freeze for PluginTaskOutcome<T>where
T: Freeze,
impl<T> Send for PluginTaskOutcome<T>where
T: Send,
impl<T> Sync for PluginTaskOutcome<T>where
T: Sync,
impl<T> Unpin for PluginTaskOutcome<T>where
T: Unpin,
impl<T> UnsafeUnpin for PluginTaskOutcome<T>where
T: UnsafeUnpin,
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