pub enum HashSite<'a> {
Native,
Helper(&'a str),
}Expand description
Where the hash itself is spelled.
Variants§
Native
Inline this engine’s own hash spelling, from SidSpelling::hash.
Helper(&'a str)
Call the HELPER_FUNCTION_NAME function by this — possibly
schema-qualified — name. Its body is the HashSite::Native spelling,
so the two sites are the same derivation.
The qualifier is the function’s home, not the caller’s schema. One function is created per deployment unit, so a call from any other schema of that unit has to name the schema that has it. A caller that qualifies with its own schema names a function nothing created.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HashSite<'a>
impl<'a> RefUnwindSafe for HashSite<'a>
impl<'a> Send for HashSite<'a>
impl<'a> Sync for HashSite<'a>
impl<'a> Unpin for HashSite<'a>
impl<'a> UnsafeUnpin for HashSite<'a>
impl<'a> UnwindSafe for HashSite<'a>
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