Function ccash_rs::methods::admin::close[][src]

pub async fn close(
    session: &mut CCashSession,
    admin_user: &CCashUser
) -> Result<(), CCashError>
Expand description

Saves and closes the CCash instance. This updates session to reflect that the connection to the CCash instance has closed. This function requires that admin_user to be the admin user for the CCash instance.