pub struct OpenSiteEffects { /* private fields */ }Expand description
The effects of an open exchange: no placement, no grant, no revocation reaches Lys; a builder is an open seat with a station in the registry.
Implementations§
Trait Implementations§
Source§impl SiteEffects for OpenSiteEffects
impl SiteEffects for OpenSiteEffects
Source§fn agent_owner(&self, agent: &str) -> Result<String, SiteError>
fn agent_owner(&self, agent: &str) -> Result<String, SiteError>
Returns the active agent’s responsible person from its durable record. Read more
Source§fn bind(
&self,
_draft: &str,
_site: &str,
agent: &str,
_at_ms: u64,
) -> Result<BuilderGrants, SiteError>
fn bind( &self, _draft: &str, _site: &str, agent: &str, _at_ms: u64, ) -> Result<BuilderGrants, SiteError>
Delegates exactly two use-only grants on this service. Read more
Source§fn revoke(
&self,
_draft: &str,
_label: &str,
_grant: &str,
) -> Result<(), SiteError>
fn revoke( &self, _draft: &str, _label: &str, _grant: &str, ) -> Result<(), SiteError>
Revokes the recorded grant, never an inferred relation or ancestor. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for OpenSiteEffects
impl !UnwindSafe for OpenSiteEffects
impl Freeze for OpenSiteEffects
impl Send for OpenSiteEffects
impl Sync for OpenSiteEffects
impl Unpin for OpenSiteEffects
impl UnsafeUnpin for OpenSiteEffects
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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