svn_cancel_func_t

Type Alias svn_cancel_func_t 

Source
pub type svn_cancel_func_t = Option<unsafe extern "C" fn(cancel_baton: *mut c_void) -> *mut svn_error_t>;
Expand description

A user defined callback that subversion will call with a user defined baton to see if the current operation should be continued. If the operation should continue, the function should return #SVN_NO_ERROR, if not, it should return #SVN_ERR_CANCELLED.

Aliased Type§

pub enum svn_cancel_func_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> *mut svn_error_t),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> *mut svn_error_t)

Some value of type T.