pub struct SourceBinding<'a> { /* private fields */ }Expand description
Deployment-approved source identity and provider; not discovery or authentication.
Implementations§
Source§impl<'a> SourceBinding<'a>
impl<'a> SourceBinding<'a>
Sourcepub fn approved(
id: impl Into<String>,
source: &'a dyn BlockSource,
) -> TransferResult<Self>
pub fn approved( id: impl Into<String>, source: &'a dyn BlockSource, ) -> TransferResult<Self>
Explicit admission by the caller after its tenant/cluster/source policy. Approval does not replace the authenticated Peer RPC host/client boundary.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SourceBinding<'a>
impl<'a> !UnwindSafe for SourceBinding<'a>
impl<'a> Freeze for SourceBinding<'a>
impl<'a> Send for SourceBinding<'a>
impl<'a> Sync for SourceBinding<'a>
impl<'a> Unpin for SourceBinding<'a>
impl<'a> UnsafeUnpin for SourceBinding<'a>
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