pub struct DisplayableFingerprint { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for DisplayableFingerprint
impl Clone for DisplayableFingerprint
source§fn clone(&self) -> DisplayableFingerprint
fn clone(&self) -> DisplayableFingerprint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DisplayableFingerprint
impl Debug for DisplayableFingerprint
Auto Trait Implementations§
impl Freeze for DisplayableFingerprint
impl RefUnwindSafe for DisplayableFingerprint
impl Send for DisplayableFingerprint
impl Sync for DisplayableFingerprint
impl Unpin for DisplayableFingerprint
impl UnwindSafe for DisplayableFingerprint
Blanket Implementations§
source§impl<T> Any for Twhere
+DisplayableFingerprint in libsignal_protocol - Rust pub struct DisplayableFingerprint { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for DisplayableFingerprint
source§fn clone(&self) -> DisplayableFingerprint
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DisplayableFingerprint
Auto Trait Implementations§
§impl Freeze for DisplayableFingerprint
§impl RefUnwindSafe for DisplayableFingerprint
§impl Send for DisplayableFingerprint
§impl Sync for DisplayableFingerprint
§impl Unpin for DisplayableFingerprint
§impl UnwindSafe for DisplayableFingerprint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.IdentityKeyPair.html b/libsignal_protocol/struct.IdentityKeyPair.html
index ae122dfe0..b6c19d04d 100644
--- a/libsignal_protocol/struct.IdentityKeyPair.html
+++ b/libsignal_protocol/struct.IdentityKeyPair.html
@@ -11,7 +11,7 @@
other: &IdentityKey,
rng: &mut R,
) -> Result<Box<[u8]>>Generate a signature claiming that other
represents the same user as self
.
-
Trait Implementations§
source§impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
Converts to this type from the input type.source§impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for IdentityKeyPair
Auto Trait Implementations§
§impl Freeze for IdentityKeyPair
§impl RefUnwindSafe for IdentityKeyPair
§impl Send for IdentityKeyPair
§impl Sync for IdentityKeyPair
§impl Unpin for IdentityKeyPair
§impl UnwindSafe for IdentityKeyPair
Blanket Implementations§
Trait Implementations§
source§impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
Converts to this type from the input type.source§impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for IdentityKeyPair
Auto Trait Implementations§
§impl Freeze for IdentityKeyPair
§impl RefUnwindSafe for IdentityKeyPair
§impl Send for IdentityKeyPair
§impl Sync for IdentityKeyPair
§impl Unpin for IdentityKeyPair
§impl UnwindSafe for IdentityKeyPair
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.KyberPreKeyId.html b/libsignal_protocol/struct.KyberPreKeyId.html
index b86f7ac93..d57759fa3 100644
--- a/libsignal_protocol/struct.KyberPreKeyId.html
+++ b/libsignal_protocol/struct.KyberPreKeyId.html
@@ -1,5 +1,5 @@
KyberPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
Trait Implementations§
source§impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
impl<T> Any for Twhere
+DisplayableFingerprint in libsignal_protocol - Rust pub struct DisplayableFingerprint { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for DisplayableFingerprint
source§fn clone(&self) -> DisplayableFingerprint
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for DisplayableFingerprint
Auto Trait Implementations§
§impl Freeze for DisplayableFingerprint
§impl RefUnwindSafe for DisplayableFingerprint
§impl Send for DisplayableFingerprint
§impl Sync for DisplayableFingerprint
§impl Unpin for DisplayableFingerprint
§impl UnwindSafe for DisplayableFingerprint
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.IdentityKeyPair.html b/libsignal_protocol/struct.IdentityKeyPair.html
index ae122dfe0..b6c19d04d 100644
--- a/libsignal_protocol/struct.IdentityKeyPair.html
+++ b/libsignal_protocol/struct.IdentityKeyPair.html
@@ -11,7 +11,7 @@
other: &IdentityKey,
rng: &mut R,
) -> Result<Box<[u8]>>Generate a signature claiming that other
represents the same user as self
.
-
Trait Implementations§
source§impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
Converts to this type from the input type.source§impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for IdentityKeyPair
Auto Trait Implementations§
§impl Freeze for IdentityKeyPair
§impl RefUnwindSafe for IdentityKeyPair
§impl Send for IdentityKeyPair
§impl Sync for IdentityKeyPair
§impl Unpin for IdentityKeyPair
§impl UnwindSafe for IdentityKeyPair
Blanket Implementations§
Trait Implementations§
source§impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
Converts to this type from the input type.source§impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for IdentityKeyPair
Auto Trait Implementations§
§impl Freeze for IdentityKeyPair
§impl RefUnwindSafe for IdentityKeyPair
§impl Send for IdentityKeyPair
§impl Sync for IdentityKeyPair
§impl Unpin for IdentityKeyPair
§impl UnwindSafe for IdentityKeyPair
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.KyberPreKeyId.html b/libsignal_protocol/struct.KyberPreKeyId.html
index b86f7ac93..d57759fa3 100644
--- a/libsignal_protocol/struct.KyberPreKeyId.html
+++ b/libsignal_protocol/struct.KyberPreKeyId.html
@@ -1,5 +1,5 @@
KyberPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
Trait Implementations§
source§impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
pub struct DisplayableFingerprint { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for DisplayableFingerprint
impl Clone for DisplayableFingerprint
source§fn clone(&self) -> DisplayableFingerprint
fn clone(&self) -> DisplayableFingerprint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DisplayableFingerprint
impl Debug for DisplayableFingerprint
Auto Trait Implementations§
impl Freeze for DisplayableFingerprint
impl RefUnwindSafe for DisplayableFingerprint
impl Send for DisplayableFingerprint
impl Sync for DisplayableFingerprint
impl Unpin for DisplayableFingerprint
impl UnwindSafe for DisplayableFingerprint
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
source§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.IdentityKeyPair.html b/libsignal_protocol/struct.IdentityKeyPair.html
index ae122dfe0..b6c19d04d 100644
--- a/libsignal_protocol/struct.IdentityKeyPair.html
+++ b/libsignal_protocol/struct.IdentityKeyPair.html
@@ -11,7 +11,7 @@
other: &IdentityKey,
rng: &mut R,
) -> Result<Box<[u8]>>Generate a signature claiming that other
represents the same user as self
.
-
impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.IdentityKeyPair.html b/libsignal_protocol/struct.IdentityKeyPair.html
index ae122dfe0..b6c19d04d 100644
--- a/libsignal_protocol/struct.IdentityKeyPair.html
+++ b/libsignal_protocol/struct.IdentityKeyPair.html
@@ -11,7 +11,7 @@
other: &IdentityKey,
rng: &mut R,
) -> Result<Box<[u8]>>Generate a signature claiming that other
represents the same user as self
.
-
Generate a signature claiming that other
represents the same user as self
.
Trait Implementations§
source§impl Clone for IdentityKeyPair
impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
fn clone(&self) -> IdentityKeyPair
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
fn from(value: IdentityKeyPair) -> Self
source§impl From<KeyPair> for IdentityKeyPair
impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(private_key: PrivateKey) -> Result<Self>
fn try_from(private_key: PrivateKey) -> Result<Self>
impl Copy for IdentityKeyPair
Auto Trait Implementations§
impl Freeze for IdentityKeyPair
impl RefUnwindSafe for IdentityKeyPair
impl Send for IdentityKeyPair
impl Sync for IdentityKeyPair
impl Unpin for IdentityKeyPair
impl UnwindSafe for IdentityKeyPair
Blanket Implementations§
Trait Implementations§
source§impl Clone for IdentityKeyPair
impl Clone for IdentityKeyPair
source§fn clone(&self) -> IdentityKeyPair
fn clone(&self) -> IdentityKeyPair
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl From<IdentityKeyPair> for KeyPair
impl From<IdentityKeyPair> for KeyPair
source§fn from(value: IdentityKeyPair) -> Self
fn from(value: IdentityKeyPair) -> Self
source§impl From<KeyPair> for IdentityKeyPair
impl From<KeyPair> for IdentityKeyPair
source§impl TryFrom<&[u8]> for IdentityKeyPair
impl TryFrom<&[u8]> for IdentityKeyPair
source§impl TryFrom<PrivateKey> for IdentityKeyPair
impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(private_key: PrivateKey) -> Result<Self>
fn try_from(private_key: PrivateKey) -> Result<Self>
impl Copy for IdentityKeyPair
Auto Trait Implementations§
impl Freeze for IdentityKeyPair
impl RefUnwindSafe for IdentityKeyPair
impl Send for IdentityKeyPair
impl Sync for IdentityKeyPair
impl Unpin for IdentityKeyPair
impl UnwindSafe for IdentityKeyPair
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
source§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.KyberPreKeyId.html b/libsignal_protocol/struct.KyberPreKeyId.html
index b86f7ac93..d57759fa3 100644
--- a/libsignal_protocol/struct.KyberPreKeyId.html
+++ b/libsignal_protocol/struct.KyberPreKeyId.html
@@ -1,5 +1,5 @@
KyberPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
Trait Implementations§
source§impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
impl<T> CloneToUninit for Twhere
diff --git a/libsignal_protocol/struct.KyberPreKeyId.html b/libsignal_protocol/struct.KyberPreKeyId.html
index b86f7ac93..d57759fa3 100644
--- a/libsignal_protocol/struct.KyberPreKeyId.html
+++ b/libsignal_protocol/struct.KyberPreKeyId.html
@@ -1,5 +1,5 @@
KyberPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
Trait Implementations§
source§impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(private_key: PrivateKey) -> Result<Self>
Performs the conversion.source§impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
The type returned in the event of a conversion error.source§fn try_from(value: PrivateKey) -> Result<Self>
Performs the conversion.source§impl Copy for PrivateKey
source§impl Eq for PrivateKey
source§impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
§impl Freeze for PrivateKey
§impl RefUnwindSafe for PrivateKey
§impl Send for PrivateKey
§impl Sync for PrivateKey
§impl Unpin for PrivateKey
§impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
Struct libsignal_protocol::KyberPreKeyId
source · pub struct KyberPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for KyberPreKeyId
impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
fn clone(&self) -> KyberPreKeyId
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KyberPreKeyId
impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
fn from(value: KyberPreKeyId) -> Self
source§impl From<u32> for KyberPreKeyId
impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
impl Hash for KyberPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for KyberPreKeyId
impl Clone for KyberPreKeyId
source§fn clone(&self) -> KyberPreKeyId
fn clone(&self) -> KyberPreKeyId
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KyberPreKeyId
impl Debug for KyberPreKeyId
source§impl Display for KyberPreKeyId
impl Display for KyberPreKeyId
source§impl From<KyberPreKeyId> for u32
impl From<KyberPreKeyId> for u32
source§fn from(value: KyberPreKeyId) -> Self
fn from(value: KyberPreKeyId) -> Self
source§impl From<u32> for KyberPreKeyId
impl From<u32> for KyberPreKeyId
source§impl Hash for KyberPreKeyId
impl Hash for KyberPreKeyId
source§impl Ord for KyberPreKeyId
impl Ord for KyberPreKeyId
source§fn cmp(&self, other: &KyberPreKeyId) -> Ordering
fn cmp(&self, other: &KyberPreKeyId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · source§fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PrivateKey.html b/libsignal_protocol/struct.PrivateKey.html
index 45cbbde98..a098fe519 100644
--- a/libsignal_protocol/struct.PrivateKey.html
+++ b/libsignal_protocol/struct.PrivateKey.html
@@ -8,7 +8,7 @@
csprng: &mut R,
) -> Result<Box<[u8]>>sourcepub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
pub fn calculate_agreement(&self, their_key: &PublicKey) -> Result<Box<[u8]>>
Trait Implementations§
source§impl Clone for PrivateKey
impl Clone for PrivateKey
source§fn clone(&self) -> PrivateKey
fn clone(&self) -> PrivateKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PrivateKey
impl PartialEq for PrivateKey
source§fn eq(&self, other: &PrivateKey) -> bool
fn eq(&self, other: &PrivateKey) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&[u8]> for PrivateKey
impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(private_key: PrivateKey) -> Result<Self>
fn try_from(private_key: PrivateKey) -> Result<Self>
source§impl TryFrom<PrivateKey> for KeyPair
impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(value: PrivateKey) -> Result<Self>
fn try_from(value: PrivateKey) -> Result<Self>
impl Copy for PrivateKey
impl Eq for PrivateKey
impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
Blanket Implementations§
source§impl TryFrom<&[u8]> for PrivateKey
impl TryFrom<&[u8]> for PrivateKey
source§impl TryFrom<PrivateKey> for IdentityKeyPair
impl TryFrom<PrivateKey> for IdentityKeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(private_key: PrivateKey) -> Result<Self>
fn try_from(private_key: PrivateKey) -> Result<Self>
source§impl TryFrom<PrivateKey> for KeyPair
impl TryFrom<PrivateKey> for KeyPair
§type Error = SignalProtocolError
type Error = SignalProtocolError
source§fn try_from(value: PrivateKey) -> Result<Self>
fn try_from(value: PrivateKey) -> Result<Self>
impl Copy for PrivateKey
impl Eq for PrivateKey
impl StructuralPartialEq for PrivateKey
Auto Trait Implementations§
impl Freeze for PrivateKey
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
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
source§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 8bea575e6..89f241242 100644
--- a/libsignal_service/cipher/fn.get_preferred_protocol_address.html
+++ b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
@@ -1,6 +1,6 @@
-get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self
Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
+get_preferred_protocol_address in libsignal_service::cipher - Rust Function libsignal_service::cipher::get_preferred_protocol_address
source · pub async fn get_preferred_protocol_address<S: SessionStore>(
session_store: &S,
address: &ServiceAddress,
device_id: DeviceId,
-) -> Result<ProtocolAddress, SignalProtocolError>
Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
+) -> Result<ProtocolAddress, SignalProtocolError>Expand description
Equivalent of SignalServiceCipher::getPreferredProtocolAddress
\ No newline at end of file
diff --git a/libsignal_service/cipher/struct.ServiceCipher.html b/libsignal_service/cipher/struct.ServiceCipher.html
index 41261860a..f3a6b161c 100644
--- a/libsignal_service/cipher/struct.ServiceCipher.html
+++ b/libsignal_service/cipher/struct.ServiceCipher.html
@@ -1,11 +1,11 @@
ServiceCipher in libsignal_service::cipher - Rust Struct libsignal_service::cipher::ServiceCipher
source · pub struct ServiceCipher<S, R> { /* private fields */ }
Expand description
Decrypts incoming messages and encrypts outgoing messages.
Equivalent of SignalServiceCipher in Java.
Implementations§
source§impl<S, R> ServiceCipher<S, R>where
- S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
+ S: ProtocolStore + SenderKeyStore + SessionStoreExt + Clone,
R: Rng + CryptoRng,
sourcepub fn new(
protocol_store: S,
csprng: R,
- trust_root: PublicKey,
+ trust_root: PublicKey,
local_uuid: Uuid,
local_device_id: u32,
) -> Self
sourcepub async fn open_envelope(
diff --git a/libsignal_service/configuration/enum.SignalServers.html b/libsignal_service/configuration/enum.SignalServers.html
index af7ac4963..e8cdc7612 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -2,7 +2,7 @@
Staging,
Production,
}Variants§
Trait Implementations§
source§impl Clone for SignalServers
source§fn clone(&self) -> SignalServers
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for SignalServers
source§impl<'de> Deserialize<'de> for SignalServers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read moresource§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§impl Display for SignalServers
source§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.source§impl FromStr for SignalServers
source§impl PartialEq for SignalServers
source§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SignalServers
source§impl Copy for SignalServers
source§impl Eq for SignalServers
source§impl StructuralPartialEq for SignalServers
Auto Trait Implementations§
§impl Freeze for SignalServers
§impl RefUnwindSafe for SignalServers
§impl Send for SignalServers
§impl Sync for SignalServers
§impl Unpin for SignalServers
§impl UnwindSafe for SignalServers
Blanket Implementations§
source§impl<T> Any for Twhere
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 5c98acbc6..aa165a49d 100644
--- a/libsignal_service/configuration/struct.ServiceConfiguration.html
+++ b/libsignal_service/configuration/struct.ServiceConfiguration.html
@@ -1,9 +1,9 @@
ServiceConfiguration in libsignal_service::configuration - Rust pub struct ServiceConfiguration {
pub certificate_authority: String,
- pub unidentified_sender_trust_root: PublicKey,
- pub zkgroup_server_public_params: ServerPublicParams,
+ pub unidentified_sender_trust_root: PublicKey,
+ pub zkgroup_server_public_params: ServerPublicParams,
/* private fields */
-}
Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§unidentified_sender_trust_root: PublicKey
§zkgroup_server_public_params: ServerPublicParams
Implementations§
Trait Implementations§
source§impl Clone for ServiceConfiguration
source§fn clone(&self) -> ServiceConfiguration
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl From<&SignalServers> for ServiceConfiguration
source§fn from(val: &SignalServers) -> Self
Converts to this type from the input type.source§impl From<SignalServers> for ServiceConfiguration
source§fn from(val: SignalServers) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ServiceConfiguration
§impl RefUnwindSafe for ServiceConfiguration
§impl Send for ServiceConfiguration
§impl Sync for ServiceConfiguration
§impl Unpin for ServiceConfiguration
§impl UnwindSafe for ServiceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 532ba78cb..686a042cc 100644
--- a/libsignal_service/content/enum.ContentBody.html
+++ b/libsignal_service/content/enum.ContentBody.html
@@ -8,7 +8,7 @@
StoryMessage(StoryMessage),
PniSignatureMessage(PniSignatureMessage),
EditMessage(EditMessage),
-}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§NullMessage(NullMessage)
§DataMessage(DataMessage)
§SynchronizeMessage(SyncMessage)
§CallMessage(CallMessage)
§ReceiptMessage(ReceiptMessage)
§TypingMessage(TypingMessage)
§StoryMessage(StoryMessage)
§PniSignatureMessage(PniSignatureMessage)
§EditMessage(EditMessage)
Implementations§
source§impl ContentBody
sourcepub fn into_proto(self) -> Content
Trait Implementations§
source§impl Clone for ContentBody
source§fn clone(&self) -> ContentBody
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for ContentBody
source§impl From<CallMessage> for ContentBody
source§fn from(inner: CallMessage) -> ContentBody
Converts to this type from the input type.source§impl From<DataMessage> for ContentBody
source§fn from(inner: DataMessage) -> ContentBody
Converts to this type from the input type.source§impl From<EditMessage> for ContentBody
source§fn from(inner: EditMessage) -> ContentBody
Converts to this type from the input type.source§impl From<NullMessage> for ContentBody
source§fn from(inner: NullMessage) -> ContentBody
Converts to this type from the input type.source§impl From<PniSignatureMessage> for ContentBody
source§fn from(inner: PniSignatureMessage) -> ContentBody
Converts to this type from the input type.source§impl From<ReceiptMessage> for ContentBody
source§fn from(inner: ReceiptMessage) -> ContentBody
Converts to this type from the input type.source§impl From<StoryMessage> for ContentBody
source§fn from(inner: StoryMessage) -> ContentBody
Converts to this type from the input type.source§impl From<SyncMessage> for ContentBody
source§fn from(inner: SyncMessage) -> ContentBody
Converts to this type from the input type.source§impl From<TypingMessage> for ContentBody
source§fn from(inner: TypingMessage) -> ContentBody
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ContentBody
§impl RefUnwindSafe for ContentBody
§impl Send for ContentBody
§impl Sync for ContentBody
§impl Unpin for ContentBody
§impl UnwindSafe for ContentBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> CloneToUninit for Twhere
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index cbffee9f4..974f526f5 100644
--- a/libsignal_service/enum.ProfileManagerError.html
+++ b/libsignal_service/enum.ProfileManagerError.html
@@ -1,7 +1,7 @@
ProfileManagerError in libsignal_service - Rust pub enum ProfileManagerError {
ServiceError(ServiceError),
ProfileCipherError(ProfileCipherError),
-}
Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ServiceError(ServiceError)
§ProfileCipherError(ProfileCipherError)
Trait Implementations§
source§impl Debug for ProfileManagerError
source§impl Display for ProfileManagerError
source§impl Error for ProfileManagerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<ProfileCipherError> for ProfileManagerError
source§fn from(source: ProfileCipherError) -> Self
Converts to this type from the input type.source§impl From<ServiceError> for ProfileManagerError
source§fn from(source: ServiceError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for ProfileManagerError
§impl !RefUnwindSafe for ProfileManagerError
§impl Send for ProfileManagerError
§impl Sync for ProfileManagerError
§impl Unpin for ProfileManagerError
§impl !UnwindSafe for ProfileManagerError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index def567151..6303cd4f8 100644
--- a/libsignal_service/fn.decrypt_device_name.html
+++ b/libsignal_service/fn.decrypt_device_name.html
@@ -1,4 +1,4 @@
-decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
- private_key: &PrivateKey,
+decrypt_device_name in libsignal_service - Rust Function libsignal_service::decrypt_device_name
source · pub fn decrypt_device_name(
+ private_key: &PrivateKey,
device_name: &DeviceName,
) -> Result<String, ServiceError>
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/enum.CredentialsCacheError.html b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
index 06d4c6181..c3464e68a 100644
--- a/libsignal_service/groups_v2/enum.CredentialsCacheError.html
+++ b/libsignal_service/groups_v2/enum.CredentialsCacheError.html
@@ -1,7 +1,7 @@
CredentialsCacheError in libsignal_service::groups_v2 - Rust pub enum CredentialsCacheError {
ReadError(String),
WriteError(String),
-}
Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
Trait Implementations§
source§impl Debug for CredentialsCacheError
source§impl Display for CredentialsCacheError
source§impl Error for CredentialsCacheError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<CredentialsCacheError> for ServiceError
source§fn from(source: CredentialsCacheError) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for CredentialsCacheError
§impl RefUnwindSafe for CredentialsCacheError
§impl Send for CredentialsCacheError
§impl Sync for CredentialsCacheError
§impl Unpin for CredentialsCacheError
§impl UnwindSafe for CredentialsCacheError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/enum.GroupDecodingError.html b/libsignal_service/groups_v2/enum.GroupDecodingError.html
index 06d5375f2..59d6bae66 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -2,11 +2,11 @@
ZkGroupDeserializationFailure,
ZkGroupVerificationFailure,
BincodeError(Error),
- ProtobufDecodeError(DecodeError),
+ ProtobufDecodeError(DecodeError),
WrongBlob,
WrongEnumValue,
NotAci,
-}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
source§fn from(_: ZkGroupDeserializationFailure) -> Self
Converts to this type from the input type.source§impl From<ZkGroupVerificationFailure> for GroupDecodingError
source§fn from(_: ZkGroupVerificationFailure) -> Self
Converts to this type from the input type.Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> Any for Twhere
+}Variants§
§ZkGroupDeserializationFailure
§ZkGroupVerificationFailure
§BincodeError(Error)
§ProtobufDecodeError(DecodeError)
§WrongBlob
§WrongEnumValue
§NotAci
Trait Implementations§
source§impl Debug for GroupDecodingError
source§impl Display for GroupDecodingError
source§impl Error for GroupDecodingError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more1.0.0 · source§fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()source§impl From<DecodeError> for GroupDecodingError
source§fn from(source: DecodeError) -> Self
Converts to this type from the input type.source§impl From<GroupDecodingError> for ServiceError
source§fn from(source: GroupDecodingError) -> Self
Converts to this type from the input type.source§impl From<ZkGroupDeserializationFailure> for GroupDecodingError
Auto Trait Implementations§
§impl Freeze for GroupDecodingError
§impl !RefUnwindSafe for GroupDecodingError
§impl Send for GroupDecodingError
§impl Sync for GroupDecodingError
§impl Unpin for GroupDecodingError
§impl !UnwindSafe for GroupDecodingError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 1bae5e9d7..f014ff0e1 100644
--- a/libsignal_service/groups_v2/struct.GroupsManager.html
+++ b/libsignal_service/groups_v2/struct.GroupsManager.html
@@ -2,7 +2,7 @@
service_ids: ServiceIds,
push_service: S,
credentials_cache: C,
- server_public_params: ServerPublicParams,
+ server_public_params: ServerPublicParams,
) -> Self