pub fn extensions(&self) -> Vec<Extension> {
        let extensions: Vec<Extension> = if self.use_ratchet_tree_extension {
            vec![Extension::RatchetTree(RatchetTreeExtension::new(
                self.tree().public_key_tree_copy(),
            ))]
        } else {
            Vec::new()
        };
        extensions
    }
/// Get the groups extensions.
/// Right now this is limited to the ratchet tree extension which is built
/// on the fly when calling this function.
Get the groups extensions.
Right now this is limited to the ratchet tree extension which is built
on the fly when calling this function.
Get the groups extensions . Right now this is limited to the ratchet tree extension which is built on the fly when calling this function .
pub fn extensions(&self) -> Vec<Extension> {
        let extensions: Vec<Extension> = if self.use_ratchet_tree_extension {
            vec![Extension::RatchetTree(RatchetTreeExtension::new(
                self.tree().public_key_tree_copy(),
            ))]
        } else {
            Vec::new()
        };
        extensions
    }
pub fn extensions ( & self ) -> Vec < Extension > { let extensions : Vec < Extension > = if self . use_ratchet_tree_extension { vec ! [ Extension RatchetTree ( RatchetTreeExtension new ( self tree ( ) public_key_tree_copy ( ) ) ) ] } else { Vec :: new ( ) } ; extensions }
Get the groups extensions.
Get the groups extensions .
&self
&self