pub struct TestDeviceSigningAuthority { /* private fields */ }Implementations§
Source§impl TestDeviceSigningAuthority
impl TestDeviceSigningAuthority
pub fn registration_ref(&self) -> &StoreDeviceRegistrationRef
pub fn registration(&self) -> &StoreDeviceRegistration
pub fn referenced_registration(&self) -> &ReferencedStoreDeviceRegistration
pub fn sign_provider_admission_approval_without_shape_validation_for_test( &self, request: DeviceProviderAccessRequest, admission: DeviceProviderAdmission, ) -> DeviceProviderAdmissionApproval
pub fn sign_device_head_for_test( &self, store_root_hash: ObjectHash, commit: StoreBatchCommitRef, successor: SuccessorLink, ) -> Result<StoreDeviceHead, StoreProtocolError>
pub fn sign_reclaim_receipt_for_test( &self, store_root_hash: ObjectHash, authorization: ReclaimAuthorizationRef, provider_admin_state: StoreMembershipStateRef, provider_admin_grant: ProviderAdminGrantId, ) -> Result<ReclaimReceipt, StoreProtocolError>
Auto Trait Implementations§
impl !Freeze for TestDeviceSigningAuthority
impl RefUnwindSafe for TestDeviceSigningAuthority
impl Send for TestDeviceSigningAuthority
impl Sync for TestDeviceSigningAuthority
impl Unpin for TestDeviceSigningAuthority
impl UnsafeUnpin for TestDeviceSigningAuthority
impl UnwindSafe for TestDeviceSigningAuthority
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.