Skip to main content

ScriptSpace

Struct ScriptSpace 

Source
pub struct ScriptSpace { /* private fields */ }
Expand description

The script resources as a space: space’s bindings, plus each published SPARQL script and plan as its own …:result and …:runs entry, carrying its parameters.

Trait Implementations§

Source§

impl Space for ScriptSpace

Source§

fn resolve(&self, request: &Request, scope: &Scope) -> Resolution

Resolve a request to an endpoint, or report a miss.
Source§

fn entries(&self) -> Option<Vec<SpaceEntry>>

Enumerate this space’s bindings, if it can. None means the space does not support enumeration (e.g. a rewrite or a remote space); Some(vec![]) means it is enumerable but empty. The default is None. Read more
Source§

fn id(&self) -> Option<Iri>

The identity this space claims for itself, if any. The default is None: a space is anonymous unless it says otherwise (.named(iri) on every core combinator). Read more
Source§

fn topology(&self) -> Topology

This space’s structure as a tree, for urn:kernel:topology. The default answers an opaque node carrying the space’s id: a space that does not say what it encloses is reported as saying nothing, which is the honest answer — the graph states where structural knowledge stops rather than implying the space is empty. Every core combinator overrides it; an overlay that encloses one space should forward it, as it forwards entries.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V