#[repr(C)]pub struct ext4_lock {
pub lock: Option<unsafe extern "C" fn()>,
pub unlock: Option<unsafe extern "C" fn()>,
}Expand description
@brief OS dependent lock interface.
Fields§
§lock: Option<unsafe extern "C" fn()>@brief Lock access to mount point.
unlock: Option<unsafe extern "C" fn()>@brief Unlock access to mount point.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ext4_lock
impl RefUnwindSafe for ext4_lock
impl Send for ext4_lock
impl Sync for ext4_lock
impl Unpin for ext4_lock
impl UnwindSafe for ext4_lock
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