Struct ostree::RepoCheckoutAtOptions [−][src]
Fields
mode: RepoCheckoutMode
overwrite_mode: RepoCheckoutOverwriteMode
enable_uncompressed_cache: bool
enable_fsync: bool
process_whiteouts: bool
no_copy_fallback: bool
force_copy: bool
bareuseronly_dirs: bool
force_copy_zerosized: bool
subpath: Option<PathBuf>
devino_to_csum_cache: Option<RepoDevInoCache>
filter: Option<RepoCheckoutFilter>
A callback function to decide which files and directories will be checked out from the repo. See the documentation on RepoCheckoutFilter for more information on the signature.
Panics
This callback may not panic. If it does, abort()
will be called to avoid unwinding across
an FFI boundary and into the libostree C code (which is Undefined Behavior). If you prefer to
swallow the panic rather than aborting, you can use std::panic::catch_unwind
inside your
callback to catch and silence any panics that occur.
sepolicy: Option<SePolicy>
sepolicy_prefix: Option<String>
Trait Implementations
impl Default for RepoCheckoutAtOptions
[src]
impl<'a> ToGlibPtr<'a, *const OstreeRepoCheckoutAtOptions> for RepoCheckoutAtOptions
[src]
type Storage = (Box<OstreeRepoCheckoutAtOptions>, Stash<'a, *const c_char, Option<PathBuf>>, Stash<'a, *const c_char, Option<String>>, Stash<'a, *mut OstreeRepoDevInoCache, Option<RepoDevInoCache>>, Stash<'a, *mut OstreeSePolicy, Option<SePolicy>>)
fn to_glib_none(&'a self) -> Stash<'_, *const OstreeRepoCheckoutAtOptions, Self>
[src]
pub fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
pub fn to_glib_full(&self) -> P
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RepoCheckoutAtOptions
impl !Send for RepoCheckoutAtOptions
impl !Sync for RepoCheckoutAtOptions
impl Unpin for RepoCheckoutAtOptions
impl !UnwindSafe for RepoCheckoutAtOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,