pub struct RelationshipSelectionServiceHandle(/* private fields */);Expand description
Cloneable, type-erased relationship service registered by the host.
Implementations§
Source§impl RelationshipSelectionServiceHandle
impl RelationshipSelectionServiceHandle
Sourcepub fn new(service: Arc<dyn RelationshipSelectionService>) -> Self
pub fn new(service: Arc<dyn RelationshipSelectionService>) -> Self
Wraps a trusted relationship-selection service.
Sourcepub fn select(
&self,
request: &RelationshipSelectionRequest,
) -> Result<CompleteRelationshipSelection, RelationshipSelectionError>
pub fn select( &self, request: &RelationshipSelectionRequest, ) -> Result<CompleteRelationshipSelection, RelationshipSelectionError>
Selects and validates complete request binding and evidence exactness.
Trait Implementations§
Source§impl SnapshotBoundService for RelationshipSelectionServiceHandle
impl SnapshotBoundService for RelationshipSelectionServiceHandle
Source§fn source_snapshots(&self) -> &[SourceSnapshot]
fn source_snapshots(&self) -> &[SourceSnapshot]
Exact source snapshots used to construct this service.
Auto Trait Implementations§
impl !RefUnwindSafe for RelationshipSelectionServiceHandle
impl !UnwindSafe for RelationshipSelectionServiceHandle
impl Freeze for RelationshipSelectionServiceHandle
impl Send for RelationshipSelectionServiceHandle
impl Sync for RelationshipSelectionServiceHandle
impl Unpin for RelationshipSelectionServiceHandle
impl UnsafeUnpin for RelationshipSelectionServiceHandle
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