trait EvalContextExtPrivate<'tcx>: MiriInterpCxExt<'tcx> {
// Provided methods
fn parse_utimens_timespec(
&self,
tp: &MPlaceTy<'tcx>,
) -> InterpResult<'tcx, Option<TimeUpdate>> { ... }
fn write_stat_buf(
&mut self,
metadata: FileMetadata,
buf_op: &OpTy<'tcx>,
) -> InterpResult<'tcx, i32> { ... }
fn file_type_to_d_type(
&self,
file_type: Result<FileType>,
) -> InterpResult<'tcx, i32> { ... }
fn dir_entry_fields(
&self,
entry: Either<DirEntry, &'static str>,
) -> InterpResult<'tcx, DirEntry> { ... }
fn host_permissions_from_mode(
&self,
mode: u32,
) -> InterpResult<'tcx, Permissions> { ... }
}Provided Methods§
Sourcefn parse_utimens_timespec(
&self,
tp: &MPlaceTy<'tcx>,
) -> InterpResult<'tcx, Option<TimeUpdate>>
fn parse_utimens_timespec( &self, tp: &MPlaceTy<'tcx>, ) -> InterpResult<'tcx, Option<TimeUpdate>>
Decode one futimens timespec, handling the UTIME_NOW/UTIME_OMIT tv_nsec values.
None means the timespec is invalid and the caller should report EINVAL.
fn write_stat_buf( &mut self, metadata: FileMetadata, buf_op: &OpTy<'tcx>, ) -> InterpResult<'tcx, i32>
fn file_type_to_d_type( &self, file_type: Result<FileType>, ) -> InterpResult<'tcx, i32>
fn dir_entry_fields( &self, entry: Either<DirEntry, &'static str>, ) -> InterpResult<'tcx, DirEntry>
fn host_permissions_from_mode( &self, mode: u32, ) -> InterpResult<'tcx, Permissions>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".