pub struct FileProp {
pub path: CString<{ _ }>,
pub user: OsalId,
pub is_valid: bool,
}Expand description
Properties of an open file, returned by File::info.
Fields§
§path: CString<{ _ }>The full path of the open file.
user: OsalIdThe OSAL ID of the task that opened the file.
is_valid: boolIndicates if the file descriptor is valid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileProp
impl RefUnwindSafe for FileProp
impl Send for FileProp
impl Sync for FileProp
impl Unpin for FileProp
impl UnsafeUnpin for FileProp
impl UnwindSafe for FileProp
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