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.PreKeyId.html b/libsignal_protocol/struct.PreKeyId.html
index 0acb59373..a0cc00f83 100644
--- a/libsignal_protocol/struct.PreKeyId.html
+++ b/libsignal_protocol/struct.PreKeyId.html
@@ -1,5 +1,5 @@
PreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::PreKeyId
source · pub struct PreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known pre-keys.
-Trait Implementations§
source§impl Hash for PreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Ord for PreKeyId
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 e46dda9d8..47961ef6e 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 more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/libsignal_protocol/struct.PublicKey.html b/libsignal_protocol/struct.PublicKey.html
index 3dc322ce7..a1b18e164 100644
--- a/libsignal_protocol/struct.PublicKey.html
+++ b/libsignal_protocol/struct.PublicKey.html
@@ -5,7 +5,7 @@
) -> Result<bool>sourcepub fn key_type(&self) -> KeyType
Trait Implementations§
source§impl ConstantTimeEq for PublicKey
source§impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
Converts to this type from the input type.source§impl From<PublicKey> for IdentityKey
source§impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
Converts to this type from the input type.source§impl From<PublicKey> for IdentityKey
source§impl Ord for PublicKey
source§impl PartialEq for PublicKey
source§fn eq(&self, other: &PublicKey) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/libsignal_protocol/struct.SignedPreKeyId.html b/libsignal_protocol/struct.SignedPreKeyId.html
index d089b47e3..e8b1ad325 100644
--- a/libsignal_protocol/struct.SignedPreKeyId.html
+++ b/libsignal_protocol/struct.SignedPreKeyId.html
@@ -1,5 +1,5 @@
SignedPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::SignedPreKeyId
source · pub struct SignedPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
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 SignedPreKeyId
source§impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
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 SignedPreKeyId
source§impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
source§impl Ord for SignedPreKeyId
source§fn cmp(&self, other: &SignedPreKeyId) -> 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.Timestamp.html b/libsignal_protocol/struct.Timestamp.html
index d0cf83df0..26de2e005 100644
--- a/libsignal_protocol/struct.Timestamp.html
+++ b/libsignal_protocol/struct.Timestamp.html
@@ -1,6 +1,6 @@
Timestamp in libsignal_protocol - Rust Struct libsignal_protocol::Timestamp
source · pub struct Timestamp(/* private fields */);
Expand description
Timestamp recorded as milliseconds since the Unix epoch.
-Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
Generate a random value of T
, using rng
as the source of randomness.source§fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§impl PartialOrd for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read moresource§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
Blanket Implementations§
source§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
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> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ V: MultiLane<T>,source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 6f9b12468..13ad56c68 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 3cc4fe56e..77c1134bd 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 d0b498055..9f539e229 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -1,11 +1,11 @@
SignalServers in libsignal_service::configuration - Rust pub enum SignalServers {
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§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
+}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§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 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§
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 80d4c0c10..7b2c8f32e 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 5efb5623e..96f0723e8 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index 4d7c72fad..404d7dfb3 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/envelope/struct.EnvelopeEntity.html b/libsignal_service/envelope/struct.EnvelopeEntity.html
index f5024c922..1acb2bfde 100644
--- a/libsignal_service/envelope/struct.EnvelopeEntity.html
+++ b/libsignal_service/envelope/struct.EnvelopeEntity.html
@@ -11,9 +11,9 @@
pub urgent: bool,
pub story: bool,
pub report_spam_token: Option<Vec<u8>>,
-}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index 5db147d20..2211e41bb 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,
+ 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 1a251f448..e9e8b3441 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 2e4ff6713..5545ed997 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -6,7 +6,7 @@
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.AccessControl.html b/libsignal_service/groups_v2/struct.AccessControl.html
index cb1b09a42..588c4fff6 100644
--- a/libsignal_service/groups_v2/struct.AccessControl.html
+++ b/libsignal_service/groups_v2/struct.AccessControl.html
@@ -2,11 +2,11 @@
pub attributes: AccessRequired,
pub members: AccessRequired,
pub add_from_invite_link: AccessRequired,
-}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
Blanket Implementations§
source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.Group.html b/libsignal_service/groups_v2/struct.Group.html
index 65936d7a5..04eee5689 100644
--- a/libsignal_service/groups_v2/struct.Group.html
+++ b/libsignal_service/groups_v2/struct.Group.html
@@ -9,11 +9,11 @@
pub requesting_members: Vec<RequestingMember>,
pub invite_link_password: Vec<u8>,
pub description: Option<String>,
-}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§fn eq(&self, other: &Group) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
Blanket Implementations§
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 26276954a..2aceb4dd8 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
fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.PreKeyId.html b/libsignal_protocol/struct.PreKeyId.html
index 0acb59373..a0cc00f83 100644
--- a/libsignal_protocol/struct.PreKeyId.html
+++ b/libsignal_protocol/struct.PreKeyId.html
@@ -1,5 +1,5 @@
PreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::PreKeyId
source · pub struct PreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known pre-keys.
-Trait Implementations§
source§impl Hash for PreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Ord for PreKeyId
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 e46dda9d8..47961ef6e 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 more§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/libsignal_protocol/struct.PublicKey.html b/libsignal_protocol/struct.PublicKey.html
index 3dc322ce7..a1b18e164 100644
--- a/libsignal_protocol/struct.PublicKey.html
+++ b/libsignal_protocol/struct.PublicKey.html
@@ -5,7 +5,7 @@
) -> Result<bool>sourcepub fn key_type(&self) -> KeyType
Trait Implementations§
source§impl ConstantTimeEq for PublicKey
source§impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
Converts to this type from the input type.source§impl From<PublicKey> for IdentityKey
source§impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
Converts to this type from the input type.source§impl From<PublicKey> for IdentityKey
source§impl Ord for PublicKey
source§impl PartialEq for PublicKey
source§fn eq(&self, other: &PublicKey) -> bool
This method tests for self
and other
values to be equal, and is used
diff --git a/libsignal_protocol/struct.SignedPreKeyId.html b/libsignal_protocol/struct.SignedPreKeyId.html
index d089b47e3..e8b1ad325 100644
--- a/libsignal_protocol/struct.SignedPreKeyId.html
+++ b/libsignal_protocol/struct.SignedPreKeyId.html
@@ -1,5 +1,5 @@
SignedPreKeyId in libsignal_protocol - Rust Struct libsignal_protocol::SignedPreKeyId
source · pub struct SignedPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
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 SignedPreKeyId
source§impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
1.3.0 · source§fn hash_slice<H>(data: &[Self], state: &mut H)where
+
Trait Implementations§
source§impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
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 SignedPreKeyId
source§impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
Converts to this type from the input type.source§impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
source§impl Ord for SignedPreKeyId
source§fn cmp(&self, other: &SignedPreKeyId) -> 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.Timestamp.html b/libsignal_protocol/struct.Timestamp.html
index d0cf83df0..26de2e005 100644
--- a/libsignal_protocol/struct.Timestamp.html
+++ b/libsignal_protocol/struct.Timestamp.html
@@ -1,6 +1,6 @@
Timestamp in libsignal_protocol - Rust Struct libsignal_protocol::Timestamp
source · pub struct Timestamp(/* private fields */);
Expand description
Timestamp recorded as milliseconds since the Unix epoch.
-Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
Generate a random value of T
, using rng
as the source of randomness.source§fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§impl PartialOrd for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read moresource§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
Blanket Implementations§
source§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
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> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ V: MultiLane<T>,source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
\ No newline at end of file
diff --git a/libsignal_service/cipher/fn.get_preferred_protocol_address.html b/libsignal_service/cipher/fn.get_preferred_protocol_address.html
index 6f9b12468..13ad56c68 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 3cc4fe56e..77c1134bd 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 d0b498055..9f539e229 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -1,11 +1,11 @@
SignalServers in libsignal_service::configuration - Rust pub enum SignalServers {
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§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
+}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§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 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§
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 80d4c0c10..7b2c8f32e 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 5efb5623e..96f0723e8 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index 4d7c72fad..404d7dfb3 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/envelope/struct.EnvelopeEntity.html b/libsignal_service/envelope/struct.EnvelopeEntity.html
index f5024c922..1acb2bfde 100644
--- a/libsignal_service/envelope/struct.EnvelopeEntity.html
+++ b/libsignal_service/envelope/struct.EnvelopeEntity.html
@@ -11,9 +11,9 @@
pub urgent: bool,
pub story: bool,
pub report_spam_token: Option<Vec<u8>>,
-}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index 5db147d20..2211e41bb 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,
+ 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 1a251f448..e9e8b3441 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 2e4ff6713..5545ed997 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -6,7 +6,7 @@
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.AccessControl.html b/libsignal_service/groups_v2/struct.AccessControl.html
index cb1b09a42..588c4fff6 100644
--- a/libsignal_service/groups_v2/struct.AccessControl.html
+++ b/libsignal_service/groups_v2/struct.AccessControl.html
@@ -2,11 +2,11 @@
pub attributes: AccessRequired,
pub members: AccessRequired,
pub add_from_invite_link: AccessRequired,
-}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
Blanket Implementations§
source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.Group.html b/libsignal_service/groups_v2/struct.Group.html
index 65936d7a5..04eee5689 100644
--- a/libsignal_service/groups_v2/struct.Group.html
+++ b/libsignal_service/groups_v2/struct.Group.html
@@ -9,11 +9,11 @@
pub requesting_members: Vec<RequestingMember>,
pub invite_link_password: Vec<u8>,
pub description: Option<String>,
-}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§fn eq(&self, other: &Group) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
Blanket Implementations§
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 26276954a..2aceb4dd8 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::PreKeyId
source · pub struct PreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known pre-keys.
-Trait Implementations§
source§impl Hash for PreKeyId
impl Hash for PreKeyId
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 Ord for PreKeyId
impl Ord for PreKeyId
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 e46dda9d8..47961ef6e 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 e46dda9d8..47961ef6e 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
§impl<Q, K> Equivalent<K> for Qwhere
diff --git a/libsignal_protocol/struct.PublicKey.html b/libsignal_protocol/struct.PublicKey.html
index 3dc322ce7..a1b18e164 100644
--- a/libsignal_protocol/struct.PublicKey.html
+++ b/libsignal_protocol/struct.PublicKey.html
@@ -5,7 +5,7 @@
) -> Result<bool>sourcepub fn key_type(&self) -> KeyType
impl<Q, K> Equivalent<K> for Qwhere
diff --git a/libsignal_protocol/struct.PublicKey.html b/libsignal_protocol/struct.PublicKey.html
index 3dc322ce7..a1b18e164 100644
--- a/libsignal_protocol/struct.PublicKey.html
+++ b/libsignal_protocol/struct.PublicKey.html
@@ -5,7 +5,7 @@
) -> Result<bool>sourcepub fn key_type(&self) -> KeyType
pub fn key_type(&self) -> KeyType
Trait Implementations§
source§impl ConstantTimeEq for PublicKey
impl ConstantTimeEq for PublicKey
source§impl From<IdentityKey> for PublicKey
impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
fn from(value: IdentityKey) -> Self
source§impl From<PublicKey> for IdentityKey
impl From<PublicKey> for IdentityKey
source§impl From<IdentityKey> for PublicKey
impl From<IdentityKey> for PublicKey
source§fn from(value: IdentityKey) -> Self
fn from(value: IdentityKey) -> Self
source§impl From<PublicKey> for IdentityKey
impl From<PublicKey> for IdentityKey
source§impl Ord for PublicKey
impl Ord for PublicKey
source§impl PartialEq for PublicKey
impl PartialEq for PublicKey
source§fn eq(&self, other: &PublicKey) -> bool
fn eq(&self, other: &PublicKey) -> bool
self
and other
values to be equal, and is used
diff --git a/libsignal_protocol/struct.SignedPreKeyId.html b/libsignal_protocol/struct.SignedPreKeyId.html
index d089b47e3..e8b1ad325 100644
--- a/libsignal_protocol/struct.SignedPreKeyId.html
+++ b/libsignal_protocol/struct.SignedPreKeyId.html
@@ -1,5 +1,5 @@
Struct libsignal_protocol::SignedPreKeyId
source · pub struct SignedPreKeyId(/* private fields */);
Expand description
A unique identifier selecting among this client’s known signed pre-keys.
-Trait Implementations§
source§impl Clone for SignedPreKeyId
impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
fn clone(&self) -> SignedPreKeyId
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignedPreKeyId
impl Debug for SignedPreKeyId
source§impl Display for SignedPreKeyId
impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
fn from(value: SignedPreKeyId) -> Self
source§impl From<u32> for SignedPreKeyId
impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
impl Hash for SignedPreKeyId
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 SignedPreKeyId
impl Clone for SignedPreKeyId
source§fn clone(&self) -> SignedPreKeyId
fn clone(&self) -> SignedPreKeyId
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SignedPreKeyId
impl Debug for SignedPreKeyId
source§impl Display for SignedPreKeyId
impl Display for SignedPreKeyId
source§impl From<SignedPreKeyId> for u32
impl From<SignedPreKeyId> for u32
source§fn from(value: SignedPreKeyId) -> Self
fn from(value: SignedPreKeyId) -> Self
source§impl From<u32> for SignedPreKeyId
impl From<u32> for SignedPreKeyId
source§impl Hash for SignedPreKeyId
impl Hash for SignedPreKeyId
source§impl Ord for SignedPreKeyId
impl Ord for SignedPreKeyId
source§fn cmp(&self, other: &SignedPreKeyId) -> Ordering
fn cmp(&self, other: &SignedPreKeyId) -> 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.Timestamp.html b/libsignal_protocol/struct.Timestamp.html
index d0cf83df0..26de2e005 100644
--- a/libsignal_protocol/struct.Timestamp.html
+++ b/libsignal_protocol/struct.Timestamp.html
@@ -1,6 +1,6 @@
Timestamp in libsignal_protocol - Rust Struct libsignal_protocol::Timestamp
source · pub struct Timestamp(/* private fields */);
Expand description
Timestamp recorded as milliseconds since the Unix epoch.
-Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
Generate a random value of T
, using rng
as the source of randomness.source§fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§impl PartialOrd for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read moresource§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
Blanket Implementations§
source§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
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> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ V: MultiLane<T>,source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
fn min(self, other: Self) -> Selfwhere
diff --git a/libsignal_protocol/struct.Timestamp.html b/libsignal_protocol/struct.Timestamp.html
index d0cf83df0..26de2e005 100644
--- a/libsignal_protocol/struct.Timestamp.html
+++ b/libsignal_protocol/struct.Timestamp.html
@@ -1,6 +1,6 @@
Timestamp in libsignal_protocol - Rust Struct libsignal_protocol::Timestamp
source · pub struct Timestamp(/* private fields */);
Expand description
Timestamp recorded as milliseconds since the Unix epoch.
-Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
Generate a random value of T
, using rng
as the source of randomness.source§fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
Implementations§
source§impl Timestamp
sourcepub const fn from_epoch_millis(milliseconds: u64) -> Self
sourcepub const fn epoch_millis(&self) -> u64
sourcepub fn add_millis(&self, milliseconds: u64) -> Self
sourcepub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
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 Distribution<Timestamp> for Standard
source§impl PartialOrd for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read moresource§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
Blanket Implementations§
source§impl Copy for Timestamp
source§impl Eq for Timestamp
source§impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
§impl Freeze for Timestamp
§impl RefUnwindSafe for Timestamp
§impl Send for Timestamp
§impl Sync for Timestamp
§impl Unpin for Timestamp
§impl UnwindSafe for Timestamp
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> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
\ No newline at end of file
+ V: MultiLane<T>,source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
Struct libsignal_protocol::Timestamp
source · pub struct Timestamp(/* private fields */);
Expand description
Timestamp recorded as milliseconds since the Unix epoch.
-Implementations§
source§impl Timestamp
impl Timestamp
pub const fn from_epoch_millis(milliseconds: u64) -> Self
pub const fn epoch_millis(&self) -> u64
pub fn add_millis(&self, milliseconds: u64) -> Self
pub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
impl<'de> Deserialize<'de> for Timestamp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
- __D: Deserializer<'de>,
source§impl Distribution<Timestamp> for Standard
impl Distribution<Timestamp> for Standard
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Timestamp
T
, using rng
as the source of randomness.source§fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T>where
+
Implementations§
source§impl Timestamp
impl Timestamp
pub const fn from_epoch_millis(milliseconds: u64) -> Self
pub const fn epoch_millis(&self) -> u64
pub fn add_millis(&self, milliseconds: u64) -> Self
pub fn sub_millis(&self, milliseconds: u64) -> Timestamp
Trait Implementations§
source§impl<'de> Deserialize<'de> for Timestamp
impl<'de> Deserialize<'de> for Timestamp
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
+ __D: Deserializer<'de>,
source§impl Distribution<Timestamp> for Standard
impl Distribution<Timestamp> for Standard
source§impl PartialOrd for Timestamp
impl PartialOrd for Timestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Timestamp
impl Eq for Timestamp
impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
impl Freeze for Timestamp
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnwindSafe for Timestamp
Blanket Implementations§
impl Copy for Timestamp
impl Eq for Timestamp
impl StructuralPartialEq for Timestamp
Auto Trait Implementations§
impl Freeze for Timestamp
impl RefUnwindSafe for Timestamp
impl Send for Timestamp
impl Sync for Timestamp
impl Unpin for Timestamp
impl UnwindSafe for Timestamp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
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 3cc4fe56e..77c1134bd 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 d0b498055..9f539e229 100644
--- a/libsignal_service/configuration/enum.SignalServers.html
+++ b/libsignal_service/configuration/enum.SignalServers.html
@@ -1,11 +1,11 @@
SignalServers in libsignal_service::configuration - Rust pub enum SignalServers {
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§fn eq(&self, other: &SignalServers) -> bool
This method tests for self
and other
values to be equal, and is used
+}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§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 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§
§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/configuration/struct.ServiceConfiguration.html b/libsignal_service/configuration/struct.ServiceConfiguration.html
index 80d4c0c10..7b2c8f32e 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/content/enum.ContentBody.html b/libsignal_service/content/enum.ContentBody.html
index 5efb5623e..96f0723e8 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> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/libsignal_service/enum.ProfileManagerError.html b/libsignal_service/enum.ProfileManagerError.html
index 4d7c72fad..404d7dfb3 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/envelope/struct.EnvelopeEntity.html b/libsignal_service/envelope/struct.EnvelopeEntity.html
index f5024c922..1acb2bfde 100644
--- a/libsignal_service/envelope/struct.EnvelopeEntity.html
+++ b/libsignal_service/envelope/struct.EnvelopeEntity.html
@@ -11,9 +11,9 @@
pub urgent: bool,
pub story: bool,
pub report_spam_token: Option<Vec<u8>>,
-}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
Blanket Implementations§
source§impl<T> Any for Twhere
+}Fields§
§type: i32
§timestamp: u64
§source: Option<String>
§source_uuid: Option<String>
§source_device: u32
§destination_uuid: Option<String>
§content: Option<Vec<u8>>
§server_timestamp: u64
§guid: String
§urgent: bool
§story: bool
§report_spam_token: Option<Vec<u8>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EnvelopeEntity
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 Serialize for EnvelopeEntity
source§impl TryFrom<EnvelopeEntity> for Envelope
§type Error = ParseServiceAddressError
The type returned in the event of a conversion error.Auto Trait Implementations§
§impl Freeze for EnvelopeEntity
§impl RefUnwindSafe for EnvelopeEntity
§impl Send for EnvelopeEntity
§impl Sync for EnvelopeEntity
§impl Unpin for EnvelopeEntity
§impl UnwindSafe for EnvelopeEntity
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/fn.decrypt_device_name.html b/libsignal_service/fn.decrypt_device_name.html
index 5db147d20..2211e41bb 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,
+ 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 1a251f448..e9e8b3441 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 2e4ff6713..5545ed997 100644
--- a/libsignal_service/groups_v2/enum.GroupDecodingError.html
+++ b/libsignal_service/groups_v2/enum.GroupDecodingError.html
@@ -6,7 +6,7 @@
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.AccessControl.html b/libsignal_service/groups_v2/struct.AccessControl.html
index cb1b09a42..588c4fff6 100644
--- a/libsignal_service/groups_v2/struct.AccessControl.html
+++ b/libsignal_service/groups_v2/struct.AccessControl.html
@@ -2,11 +2,11 @@
pub attributes: AccessRequired,
pub members: AccessRequired,
pub add_from_invite_link: AccessRequired,
-}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§attributes: AccessRequired
§members: AccessRequired
§add_from_invite_link: AccessRequired
Trait Implementations§
source§impl Clone for AccessControl
source§fn clone(&self) -> AccessControl
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 AccessControl
source§impl<'de> Deserialize<'de> for AccessControl
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 PartialEq for AccessControl
source§fn eq(&self, other: &AccessControl) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
Blanket Implementations§
source§impl Serialize for AccessControl
source§impl TryFrom<AccessControl> for AccessControl
§type Error = GroupDecodingError
The type returned in the event of a conversion error.source§impl StructuralPartialEq for AccessControl
Auto Trait Implementations§
§impl Freeze for AccessControl
§impl RefUnwindSafe for AccessControl
§impl Send for AccessControl
§impl Sync for AccessControl
§impl Unpin for AccessControl
§impl UnwindSafe for AccessControl
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.Group.html b/libsignal_service/groups_v2/struct.Group.html
index 65936d7a5..04eee5689 100644
--- a/libsignal_service/groups_v2/struct.Group.html
+++ b/libsignal_service/groups_v2/struct.Group.html
@@ -9,11 +9,11 @@
pub requesting_members: Vec<RequestingMember>,
pub invite_link_password: Vec<u8>,
pub description: Option<String>,
-}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§fn eq(&self, other: &Group) -> bool
This method tests for self
and other
values to be equal, and is used
+}Fields§
§title: String
§avatar: String
§disappearing_messages_timer: Option<Timer>
§access_control: Option<AccessControl>
§revision: u32
§members: Vec<Member>
§pending_members: Vec<PendingMember>
§requesting_members: Vec<RequestingMember>
§invite_link_password: Vec<u8>
§description: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
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 PartialEq for Group
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
Blanket Implementations§
source§impl StructuralPartialEq for Group
Auto Trait Implementations§
§impl Freeze for Group
§impl RefUnwindSafe for Group
§impl Send for Group
§impl Sync for Group
§impl Unpin for Group
§impl UnwindSafe for Group
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 more§impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
-[WithDispatch
] wrapper. Read moresource§impl<T> DeserializeOwned for Twhere
- T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
+[WithDispatch
] wrapper. Read more
source§impl<T> DeserializeOwned for Twhere
+ T: for<'de> Deserialize<'de>,
source§impl<T> MaybeSend for T
\ No newline at end of file
diff --git a/libsignal_service/groups_v2/struct.GroupsManager.html b/libsignal_service/groups_v2/struct.GroupsManager.html
index 26276954a..2aceb4dd8 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