pub struct MultiGraphEvent<S> {
pub mode: StreamMode,
pub event: GraphEvent<S>,
}Expand description
An event yielded during multi-mode streaming, tagged with its stream mode.
Fields§
§mode: StreamModeWhich stream mode produced this event.
event: GraphEvent<S>The underlying graph event.
Trait Implementations§
Source§impl<S: Clone> Clone for MultiGraphEvent<S>
impl<S: Clone> Clone for MultiGraphEvent<S>
Source§fn clone(&self) -> MultiGraphEvent<S>
fn clone(&self) -> MultiGraphEvent<S>
Returns a duplicate of the value. Read more
1.0.0 · 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<S> Freeze for MultiGraphEvent<S>where
S: Freeze,
impl<S> RefUnwindSafe for MultiGraphEvent<S>where
S: RefUnwindSafe,
impl<S> Send for MultiGraphEvent<S>where
S: Send,
impl<S> Sync for MultiGraphEvent<S>where
S: Sync,
impl<S> Unpin for MultiGraphEvent<S>where
S: Unpin,
impl<S> UnsafeUnpin for MultiGraphEvent<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MultiGraphEvent<S>where
S: UnwindSafe,
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