pub struct HookRead {
pub def: Option<HookDef>,
pub diagnostics: Vec<SchemaDiagnostic>,
pub unknown_visibility: Option<String>,
}Expand description
What reading a hook.toml found. def is None when a diagnostic is an error.
Fields§
§def: Option<HookDef>§diagnostics: Vec<SchemaDiagnostic>Path-free: the caller adds the location.
unknown_visibility: Option<String>A visibility that is neither local nor exported, read as local. The caller
says so.
Trait Implementations§
Auto Trait Implementations§
impl Forget for HookRead
impl Freeze for HookReadwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, NativeHook> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, NativeHook)>>: Freeze,
*const LeafNode<String, Vec<MatcherGroup>> is !null: Freeze,
PhantomData<Box<(String, Vec<MatcherGroup>)>>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<SchemaDiagnostic>: Freeze,
impl Move for HookRead
impl RefUnwindSafe for HookRead
impl Send for HookReadwhere
RawVecInner: Send,
NodeRef<Owned, String, NativeHook, LeafOrInternal>: Send,
BoxRaw<(String, NativeHook)>: Send,
NodeRef<Owned, String, Vec<MatcherGroup>, LeafOrInternal>: Send,
BoxRaw<(String, Vec<MatcherGroup>)>: Send,
NodeRef<Owned, String, SetValZST, LeafOrInternal>: Send,
BoxRaw<(String, SetValZST)>: Send,
impl Sync for HookReadwhere
RawVecInner: Sync,
NodeRef<Owned, String, NativeHook, LeafOrInternal>: Sync,
BoxRaw<(String, NativeHook)>: Sync,
NodeRef<Owned, String, Vec<MatcherGroup>, LeafOrInternal>: Sync,
BoxRaw<(String, Vec<MatcherGroup>)>: Sync,
NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(String, SetValZST)>: Sync,
impl Unpin for HookReadwhere
*const u8 is !null: Unpin,
*const LeafNode<String, NativeHook> is !null: Unpin,
Box<(String, NativeHook)>: Unpin,
*const LeafNode<String, Vec<MatcherGroup>> is !null: Unpin,
Box<(String, Vec<MatcherGroup>)>: Unpin,
*const LeafNode<String, SetValZST> is !null: Unpin,
Box<(String, SetValZST)>: Unpin,
impl UnsafeUnpin for HookReadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, NativeHook> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, NativeHook)>>: UnsafeUnpin,
*const LeafNode<String, Vec<MatcherGroup>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Vec<MatcherGroup>)>>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<SchemaDiagnostic>: UnsafeUnpin,
impl UnwindSafe for HookReadwhere
RawVecInner: UnwindSafe,
BTreeMap<String, NativeHook>: UnwindSafe,
BTreeMap<String, Vec<MatcherGroup>>: UnwindSafe,
BTreeMap<String, SetValZST>: 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