pub enum Input {
Event {
node: NodeId,
event: Event,
},
Response {
token: QueryToken,
applied: u64,
result: Result<QueryValue, Error>,
},
}Variants§
Trait Implementations§
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl !Send for Input
impl !Sync for Input
impl Forget for Input
impl Freeze for Inputwhere
*const RichSnapshot is !null: Freeze,
PhantomData<RichSnapshot>: Freeze,
*const FileEvent is !null: Freeze,
PhantomData<FileEvent>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SemanticId>: Freeze,
*const FileChunk is !null: Freeze,
PhantomData<FileChunk>: Freeze,
*const FilePreview is !null: Freeze,
PhantomData<FilePreview>: Freeze,
&'static str: Freeze,
impl Move for Input
impl RefUnwindSafe for Input
impl Unpin for Input
impl UnsafeUnpin for Inputwhere
*const RichSnapshot is !null: UnsafeUnpin,
PhantomData<RichSnapshot>: UnsafeUnpin,
*const FileEvent is !null: UnsafeUnpin,
PhantomData<FileEvent>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SemanticId>: UnsafeUnpin,
*const FileChunk is !null: UnsafeUnpin,
PhantomData<FileChunk>: UnsafeUnpin,
*const FilePreview is !null: UnsafeUnpin,
PhantomData<FilePreview>: UnsafeUnpin,
&'static str: UnsafeUnpin,
impl UnwindSafe for Inputwhere
BoxRaw<RichSnapshot>: UnwindSafe,
BoxRaw<FileEvent>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<FileChunk>: UnwindSafe,
BoxRaw<FilePreview>: UnwindSafe,
&'static str: 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