#[non_exhaustive]pub enum Input {
Show 15 variants
Server(CallKeysMessage),
Reply(RequestId, Result<KeyReply, ApiFailure>),
Installed {
fence: FenceId,
},
DeviceSignature {
request: SignId,
sig: [u8; 64],
},
GatewayResumed,
GatewayReidentified {
gateway_session: String,
},
Ready(ReadyCallKeys),
Recording {
recording_id: Option<RecordingId>,
my_consent: Consent,
},
SdkMissingKey {
identity: LkIdentity,
since: Millis,
},
SdkUndecryptable {
identity: LkIdentity,
since: Millis,
failures: u32,
reason: UndecryptReason,
missing_index: Option<Slot>,
},
SdkDecryptOk {
identity: LkIdentity,
},
SenderSlotObserved {
observed: Slot,
},
EngineMisbehaviour {
kind: EngineMisbehaviour,
identity: Option<LkIdentity>,
},
MediaParticipants(Vec<LkIdentity>),
VoiceMembers(Vec<MemberId>),
}Expand description
Everything a CallSession reacts to. The driver or the TS wrapper feeds them.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Server(CallKeysMessage)
A call_keys_delivered body.
Reply(RequestId, Result<KeyReply, ApiFailure>)
The answer to an Output::Send (the server’s responses, or the failure).
Installed
The bridge applied everything up to fence.
DeviceSignature
The platform signed a NeedDeviceSignature message (raw r‖s, 64 bytes).
GatewayResumed
The gateway resumed (a replay follows; nothing to do).
GatewayReidentified
A new gateway session (not a resume): the state route.
Ready(ReadyCallKeys)
A fresh READY: pins, CRL, params.
Recording
The app’s recording state: the live recording and this member’s consent.
Fields
recording_id: Option<RecordingId>The live recording, if any.
SdkMissingKey
The SDK reports a missing key for identity since since (bridge telemetry).
SdkUndecryptable
The SDK reports undecryptable frames from identity (the receiver check).
SdkDecryptOk
The SDK decrypts identity again (clears an undecryptable report).
Fields
identity: LkIdentityThe remote identity.
SenderSlotObserved
The bridge’s sender self-check: the slot the local sender is on.
EngineMisbehaviour
The bridge saw the engine misbehave (the report engine kinds).
Fields
kind: EngineMisbehaviourWhat.
identity: Option<LkIdentity>The identity involved (the publisher), if any.
MediaParticipants(Vec<LkIdentity>)
The SDK’s participant identities (for report roster reports).
VoiceMembers(Vec<MemberId>)
The members Sew shows in this call (voice states), for report.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Input
impl Freeze for Input
impl Move for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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