pub enum KpathseaBackend {
InProcess,
Subprocess,
Unavailable,
}Expand description
Which kpathsea backend this process resolved. Reported by
kpathsea_backend so a host-resolution problem is diagnosable from the
log instead of surfacing only as indistinguishable “can’t find file” errors.
Variants§
InProcess
Linked libkpathsea, resolved in-process (the fast path).
Subprocess
Delegating to the host’s kpsewhich executable.
No backend could be constructed — EVERY file lookup returns None.
Implementations§
Trait Implementations§
Source§impl Clone for KpathseaBackend
impl Clone for KpathseaBackend
Source§fn clone(&self) -> KpathseaBackend
fn clone(&self) -> KpathseaBackend
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 moreimpl Copy for KpathseaBackend
Source§impl Debug for KpathseaBackend
impl Debug for KpathseaBackend
impl Eq for KpathseaBackend
Source§impl PartialEq for KpathseaBackend
impl PartialEq for KpathseaBackend
impl StructuralPartialEq for KpathseaBackend
Auto Trait Implementations§
impl Freeze for KpathseaBackend
impl RefUnwindSafe for KpathseaBackend
impl Send for KpathseaBackend
impl Sync for KpathseaBackend
impl Unpin for KpathseaBackend
impl UnsafeUnpin for KpathseaBackend
impl UnwindSafe for KpathseaBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more