pub fn new_custom(name: &str, flags: MMVFlags, cluster_id: u32)
    -> io::Result<Client> {
        let mmv_path = get_mmv_dir()?.join(name);
        let cluster_id = cluster_id & ((1 << CLUSTER_ID_BIT_LEN) - 1);

        Ok(Client {
            flags: flags,
            cluster_id: cluster_id,
            mmv_path: mmv_path
        })
    }
/// Creates a new client with custom flags and cluster ID
///
/// Note that only the 12 least significant bits of `cluster_id` will be
/// used.
Creates a new client with custom flags and cluster ID
Note that only the 12 least significant bits of `cluster_id` will be
used.
Creates a new client with custom flags and cluster ID Note that only the 12 least significant bits of ` cluster_id ` will be used .
pub fn new_custom(name: &str, flags: MMVFlags, cluster_id: u32)
    -> io::Result<Client> {
        let mmv_path = get_mmv_dir()?.join(name);
        let cluster_id = cluster_id & ((1 << CLUSTER_ID_BIT_LEN) - 1);
        Ok(Client {
            flags: flags,
            cluster_id: cluster_id,
            mmv_path: mmv_path
        })
    }
pub fn new_custom ( name : & str , flags : MMVFlags , cluster_id : u32 ) -> io :: Result < Client > { let mmv_path = get_mmv_dir ( ) ? . join ( name ) ; let cluster_id = cluster_id & ( ( 1 << CLUSTER_ID_BIT_LEN ) - 1 ) ; Ok ( Client { flags : flags , cluster_id : cluster_id , mmv_path : mmv_path } ) }
Creates a new client with custom flags and cluster ID
Note that only the 12 least significant bits of `cluster_id` will be
used.
Creates a new client with custom flags and cluster ID Note that only the 12 least significant bits of ` cluster_id ` will be used .
name
&str
flags
MMVFlags
cluster_id
u32