pub enum KeyRequest {
State(CallId, KeyStateRequest),
Commit(CallId, KeyCommitRequest),
Ready(CallId, KeyReadyRequest),
Invalid(CallId, KeyInvalidRequest),
ResetPackage(CallId, KeyResetPackageRequest),
Release(CallId, KeyReleaseRequest),
Rekey(CallId, KeyRekeyRequest),
Report(CallId, KeyReportRequest),
}Expand description
A key route request for one call. The driver POSTs body() to path(); every body carries the
Sew-minted join_id and is idempotent per the server’s key, so a failed POST is retried
unchanged.
Variants§
State(CallId, KeyStateRequest)
state.
Commit(CallId, KeyCommitRequest)
commit.
Ready(CallId, KeyReadyRequest)
ready.
Invalid(CallId, KeyInvalidRequest)
invalid (a re-add).
ResetPackage(CallId, KeyResetPackageRequest)
key_package (a reset).
Release(CallId, KeyReleaseRequest)
release.
Rekey(CallId, KeyRekeyRequest)
rekey.
Report(CallId, KeyReportRequest)
report.
Implementations§
Source§impl KeyRequest
impl KeyRequest
Trait Implementations§
Source§impl Clone for KeyRequest
impl Clone for KeyRequest
Source§impl Debug for KeyRequest
impl Debug for KeyRequest
impl Eq for KeyRequest
Source§impl PartialEq for KeyRequest
impl PartialEq for KeyRequest
impl StructuralPartialEq for KeyRequest
Auto Trait Implementations§
impl Forget for KeyRequest
impl Freeze for KeyRequest
impl Move for KeyRequest
impl RefUnwindSafe for KeyRequest
impl Send for KeyRequest
impl Sync for KeyRequest
impl Unpin for KeyRequest
impl UnsafeUnpin for KeyRequest
impl UnwindSafe for KeyRequest
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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