#[non_exhaustive]pub enum OpenPolicy {
PreferUdf,
PreferIso9660,
Iso9660,
Udf,
}Expand description
Policy used to choose one filesystem from an optical image.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PreferUdf
Prefer UDF on bridge images, falling back to ISO 9660.
PreferIso9660
Prefer ISO 9660 on bridge images, falling back to UDF.
Iso9660
Require ISO 9660.
Udf
Require UDF.
Trait Implementations§
Source§impl Clone for OpenPolicy
impl Clone for OpenPolicy
Source§fn clone(&self) -> OpenPolicy
fn clone(&self) -> OpenPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenPolicy
Source§impl Debug for OpenPolicy
impl Debug for OpenPolicy
Source§impl Default for OpenPolicy
impl Default for OpenPolicy
Source§fn default() -> OpenPolicy
fn default() -> OpenPolicy
Returns the “default value” for a type. Read more
impl Eq for OpenPolicy
Source§impl PartialEq for OpenPolicy
impl PartialEq for OpenPolicy
impl StructuralPartialEq for OpenPolicy
Auto Trait Implementations§
impl Freeze for OpenPolicy
impl RefUnwindSafe for OpenPolicy
impl Send for OpenPolicy
impl Sync for OpenPolicy
impl Unpin for OpenPolicy
impl UnsafeUnpin for OpenPolicy
impl UnwindSafe for OpenPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more