pub struct AlgorithmEntry {
pub plugin: PluginId,
pub effective_caps: CapabilitySet,
pub provider: Arc<dyn AlgorithmProvider>,
}Expand description
A single graph-algorithm registry entry.
Carries the owning plugin’s effective capability set so the CALL
dispatcher can enforce host-access grants (e.g. HostQuery) when
building the algorithm host at invocation time.
Fields§
§plugin: PluginIdOwning plugin id.
effective_caps: CapabilitySetEffective capabilities granted to the owning plugin.
provider: Arc<dyn AlgorithmProvider>The registered algorithm provider.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AlgorithmEntry
impl !UnwindSafe for AlgorithmEntry
impl Freeze for AlgorithmEntry
impl Send for AlgorithmEntry
impl Sync for AlgorithmEntry
impl Unpin for AlgorithmEntry
impl UnsafeUnpin for AlgorithmEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more