pub struct CreateOptions { /* private fields */ }Expand description
Options for creating a new empty CASC storage.
Implementations§
Source§impl CreateOptions
impl CreateOptions
pub fn product(&self) -> String
pub fn set_product(&mut self, value: &str)
pub fn version(&self) -> String
pub fn set_version(&mut self, value: &str)
Sourcepub fn archive_max_size(&self) -> u32
pub fn archive_max_size(&self) -> u32
1 GB.
pub fn set_archive_max_size(&mut self, value: u32)
Sourcepub fn blte_frame_size(&self) -> u32
pub fn blte_frame_size(&self) -> u32
64 KB.
pub fn set_blte_frame_size(&mut self, value: u32)
pub fn root_format(&self) -> RootFormat
pub fn set_root_format(&mut self, value: RootFormat)
Trait Implementations§
Source§impl Debug for CreateOptions
impl Debug for CreateOptions
Source§impl Default for CreateOptions
impl Default for CreateOptions
Source§impl Drop for CreateOptions
impl Drop for CreateOptions
impl Send for CreateOptions
Auto Trait Implementations§
impl !Sync for CreateOptions
impl Freeze for CreateOptions
impl RefUnwindSafe for CreateOptions
impl Unpin for CreateOptions
impl UnsafeUnpin for CreateOptions
impl UnwindSafe for CreateOptions
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