enum Gio::DriveStartStopType

Overview

Enumeration describing how a drive can be started/stopped.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/gio.cr

Enum Members

Unknown = 0_u32

Unknown or drive doesn't support start/stop.

Shutdown = 1_u32

The stop method will physically shut down the drive and e.g. power down the port the drive is attached to.

Network = 2_u32

The start/stop methods are used for connecting/disconnect to the drive over the network.

Multidisk = 3_u32

The start/stop methods will assemble/disassemble a virtual drive from several physical drives.

Password = 4_u32

The start/stop methods will unlock/lock the disk (for example using the ATA SECURITY UNLOCK DEVICE command)

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def multidisk? #

def network? #

def password? #

def shutdown? #

def unknown? #