pub struct UncommittedCrossSigningReset { /* private fields */ }Expand description
A handle to a cross-signing reset that has not yet been committed.
Implementations§
Source§impl UncommittedCrossSigningReset
impl UncommittedCrossSigningReset
Sourcepub fn upload_signing_keys_req(&self) -> &UploadSigningKeysRequest
pub fn upload_signing_keys_req(&self) -> &UploadSigningKeysRequest
Get a reference to the request to upload the new cross-signing keys.
Sourcepub async fn commit(self) -> Result<UploadSignaturesRequest, CryptoStoreError>
pub async fn commit(self) -> Result<UploadSignaturesRequest, CryptoStoreError>
Commit the cross-signing reset.
This will store the new cross-signing identity in the crypto store, overwriting any previous identity.
Returns the request to upload the signatures for the new cross-signing keys. It should be sent out before any pending device keys are uploaded, since a failed device keys upload is retried after the next sync, while a failed signatures upload wouldn’t be.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UncommittedCrossSigningReset
impl !UnwindSafe for UncommittedCrossSigningReset
impl Freeze for UncommittedCrossSigningReset
impl Send for UncommittedCrossSigningReset
impl Sync for UncommittedCrossSigningReset
impl Unpin for UncommittedCrossSigningReset
impl UnsafeUnpin for UncommittedCrossSigningReset
Blanket Implementations§
impl<T> AsyncTraitDeps for T
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> CompatExt for T
impl<T> CompatExt for T
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 more