@wireapp/core-crypto
    Preparing search index...

    Class Welcome

    A TLS-serialized Welcome message.

    This structure is defined in RFC 9420: https://www.rfc-editor.org/rfc/rfc9420.html#joining-via-welcome-message.

    Hierarchy

    • UniffiAbstractObject
      • Welcome

    Implements

    Index

    Constructors

    • Construct a new instance, transferring data from the client layer to Rust.

      Parameters

      • bytes: ArrayBuffer

      Returns Welcome

    Properties

    "[destructorGuardSymbol]": UniffiRustArcPtr
    "[pointerLiteralSymbol]": bigint
    "[uniffiTypeNameSymbol]": "Welcome"

    Methods

    • Get the raw bytes from this type, transferring data from Rust to the client layer.

      This does not consume the newtype, instead copying the internal data across the FFI boundary.

      Returns ArrayBuffer

    • Calls into the == method of WelcomeInterface (the native Rust peer).

      Returns true if and only if the two instance of WelcomeInterface are equivalent on the Rust side.

      Generated by deriving the Eq trait in Rust.

      Parameters

      Returns boolean

    • Calls into the hash method of WelcomeInterface (the native Rust peer).

      Generated by deriving the Hash trait in Rust.

      Returns bigint

    • Calls into the WelcomeInterface::to_string() method of the native Rust peer.

      Generated by deriving the Display trait in Rust.

      Returns string

    • {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}

      Returns void

    • A convenience method to use this object, then destroy it after its use.

      Type Parameters

      • T

      Parameters

      • block: (obj: this) => T

      Returns T

    • Parameters

      • obj: any

      Returns obj is Welcome