#[non_exhaustive]pub enum Service {
Show 20 variants
NativeEnvelope,
QrLogin,
LoginPoll,
SavedDeviceLogin,
AccountAuthentication,
AutomaticAuthentication,
Heartbeat,
Sync,
Contact,
ContactSync,
ContactBootstrap,
Room,
GroupMetadata,
Avatar,
Voice,
FileUploadReservation,
CdnBootstrap,
CdnDownload,
CdnUpload,
LargeFileUpload,
}Expand description
The response boundary that reported a non-zero service code.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NativeEnvelope
Outer response envelope of an authenticated or prelogin request.
QrLogin
QR challenge creation.
LoginPoll
Polling an issued login challenge.
SavedDeviceLogin
Confirmation push for a saved device.
AccountAuthentication
Credential exchange that completes a login.
AutomaticAuthentication
Session renewal with saved credentials.
Heartbeat
Persistent-connection heartbeat.
Sync
Message sync.
Contact
Contact lookup.
ContactSync
Contact catalog sync.
ContactBootstrap
Initial contact catalog.
Room
Group member roster.
GroupMetadata
Group catalog page.
Avatar
Avatar lookup.
Voice
Voice chunk download.
FileUploadReservation
File upload reservation.
CdnBootstrap
CDN credential bootstrap.
CdnDownload
CDN download.
CdnUpload
CDN upload.
LargeFileUpload
Large-file upload.
Implementations§
Trait Implementations§
impl Copy for Service
impl Eq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Forget for Service
impl Freeze for Service
impl Move for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.