Enum mmap::MapError
[−]
[src]
pub enum MapError {
ErrFdNotAvail,
ErrInvalidFd,
ErrUnaligned,
ErrNoMapSupport,
ErrNoMem,
ErrZeroLength,
ErrUnknown(isize),
ErrUnsupProt,
ErrUnsupOffset,
ErrAlreadyExists,
ErrVirtualAlloc(i32),
ErrCreateFileMappingW(i32),
ErrMapViewOfFile(i32),
}Possible errors when creating a map.
Variants
ErrFdNotAvail | The following are POSIX-specificfd was not open for reading or, if using |
ErrInvalidFd | fd was not valid |
ErrUnaligned | Either the address given by |
ErrNoMapSupport | With |
ErrNoMem | If using |
ErrZeroLength | A zero-length map was requested. This is invalid according to POSIX. Not all platforms obey this, but this wrapper does. |
ErrUnknown | Unrecognized error. The inner value is the unrecognized errno. |
ErrUnsupProt | The following are Windows-specificUnsupported combination of protection flags
( |
ErrUnsupOffset | When using |
ErrAlreadyExists | When using |
ErrVirtualAlloc | Unrecognized error from |
ErrCreateFileMappingW | Unrecognized error from |
ErrMapViewOfFile | Unrecognized error from |