pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>> {
        self.0
            .range((
                Included(&(id.clone(), SignerOrdering(0)).into()),
                Included(&(id.clone(), SignerOrdering(usize::MAX)).into()),
            ))
            .filter(|(k, _)| k.id == id)
            .map(|(_, v)| v)
            .next()
    }
/// Finds the signer with lowest ordering for a given id in the container.
Finds the signer with lowest ordering for a given id in the container.
Finds the signer with lowest ordering for a given id in the container .
pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>> {
        self.0
            .range((
                Included(&(id.clone(), SignerOrdering(0)).into()),
                Included(&(id.clone(), SignerOrdering(usize::MAX)).into()),
            ))
            .filter(|(k, _)| k.id == id)
            .map(|(_, v)| v)
            .next()
    }
pub fn find ( & self , id : SignerId ) -> Option < & Arc < dyn Signer > > { self . 0 . range ( ( Included ( & ( id . clone ( ) , SignerOrdering ( 0 ) ) . into ( ) ) , Included ( & ( id . clone ( ) , SignerOrdering ( usize :: MAX ) ) . into ( ) ) , ) ) . filter ( | ( k , _ ) | k . id == id ) . map ( | ( _ , v ) | v ) . next ( ) }
Finds the signer with lowest ordering for a given id in the container.
Finds the signer with lowest ordering for a given id in the container .
&self
id
SignerId
&self
id
SignerId