enum RemiLib::MmappedFile::Mapping

Overview

A Flags enumeration that dictates the flags for an MmappedFile.

Defined in:

remilib/mmappedfile.cr

Enum Members

Shared = 1
Private = 2
Locked = 8192
NoReserve = 16384
None = 0
All = 24579

Instance Method Summary

Instance methods inherited from struct Enum

toRsconf(builder : RemiLib::RSConf::Builder) toRsconf

Constructor methods inherited from struct Enum

new(val : RemiLib::RSConf::RSValue) new

Instance methods inherited from class Object

toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : Nil
toRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String
toRsconf

Class methods inherited from class Object

fromRsconf(toplevel : RemiLib::RSConf::RSValue)
fromRsconf(data : String | IO | Path)
fromRsconf

Instance Method Detail

def locked? #

Returns true if this enum value contains Locked


[View source]
def no_reserve? #

Returns true if this enum value contains NoReserve


[View source]
def none? #

[View source]
def private? #

Returns true if this enum value contains Private


[View source]
def shared? #

Returns true if this enum value contains Shared


[View source]