pub struct DispatchAuthorization<'a> { /* private fields */ }Expand description
A single, store-bound authorization created only after Unknown is synced. Not Clone: a mutation host must consume this value, never accept a separate request. The mutable borrow keeps the locked store alive until consumption. This is sequencing authority only, not adapter authentication.
ⓘ
// Fields are private and there is no public constructor.
let _forged = gatehouse_runtime_protocol::store::DispatchAuthorization {
store: unimplemented!(),
};ⓘ
fn duplicate(token: gatehouse_runtime_protocol::store::DispatchAuthorization<'_>) {
let _ = token.clone();
}Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for DispatchAuthorization<'a>
impl<'a> Freeze for DispatchAuthorization<'a>
impl<'a> RefUnwindSafe for DispatchAuthorization<'a>
impl<'a> Send for DispatchAuthorization<'a>
impl<'a> Sync for DispatchAuthorization<'a>
impl<'a> Unpin for DispatchAuthorization<'a>
impl<'a> UnsafeUnpin for DispatchAuthorization<'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