pub fn default(context: &Krb5Context) -> Result<Krb5CCache, Krb5Error> {
    let mut ccache_ptr: MaybeUninit<krb5_ccache> = MaybeUninit::zeroed();

    let code: krb5_error_code = unsafe { krb5_cc_default(context.context, ccache_ptr.as_mut_ptr()) };

    krb5_error_code_escape_hatch(context, code)?;

    let cursor = Krb5CCache {
      context,
      ccache: unsafe { ccache_ptr.assume_init() },
    };

    Ok(cursor)
  }
/**
   * Initialize using the default credential cache name.
   *
   * [krb5_cc_default](https://web.mit.edu/kerberos/krb5-1.16/doc/appdev/refs/api/krb5_cc_default.html)
   *
   * # Arguments
   *
   *  * context: the Krb5Context instance
   */
Initialize using the default credential cache name.

# Arguments


Initialize using the default credential cache name . # Arguments
pub fn default(context: &Krb5Context) -> Result<Krb5CCache, Krb5Error> {
    let mut ccache_ptr: MaybeUninit<krb5_ccache> = MaybeUninit::zeroed();
    let code: krb5_error_code = unsafe { krb5_cc_default(context.context, ccache_ptr.as_mut_ptr()) };
    krb5_error_code_escape_hatch(context, code)?;
    let cursor = Krb5CCache {
      context,
      ccache: unsafe { ccache_ptr.assume_init() },
    };
    Ok(cursor)
  }
pub fn default ( context : & Krb5Context ) -> Result < Krb5CCache , Krb5Error > { let mut ccache_ptr : MaybeUninit < krb5_ccache > = MaybeUninit :: zeroed ( ) ; let code : krb5_error_code = unsafe { krb5_cc_default ( context . context , ccache_ptr . as_mut_ptr ( ) ) } ; krb5_error_code_escape_hatch ( context , code ) ? ; let cursor = Krb5CCache { context , ccache : unsafe { ccache_ptr . assume_init ( ) } , } ; Ok ( cursor ) }
Initialize using the default credential cache name.
Initialize using the default credential cache name .
context
&Krb5Context