Skip to main content

EvalContextExtPrivate

Trait EvalContextExtPrivate 

Source
trait EvalContextExtPrivate<'tcx>: MiriInterpCxExt<'tcx> {
    // Provided methods
    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> { ... }
}

Provided Methods§

Source

fn write_stat_buf( &mut self, metadata: FileMetadata, buf_op: &OpTy<'tcx>, ) -> InterpResult<'tcx, i32>

Source

fn file_type_to_d_type( &self, file_type: Result<FileType>, ) -> InterpResult<'tcx, i32>

Source

fn dir_entry_fields( &self, entry: Either<DirEntry, &'static str>, ) -> InterpResult<'tcx, DirEntry>

Implementors§

Source§

impl<'tcx> EvalContextExtPrivate<'tcx> for MiriInterpCx<'tcx>