pub enum EventReason {
Show 32 variants
None = 0,
Swipe = 1,
Denied = 5,
NoAccessRights = 6,
IncorrectPassword = 7,
AntiPassback = 8,
MoreCards = 9,
FirstCardOpen = 10,
DoorIsNormallyClosed = 11,
Interlock = 12,
NotInAllowedTimePeriod = 13,
InvalidTimeZone = 15,
AccessDenied = 18,
PushButtonOk = 20,
DoorOpen = 23,
DoorClosed = 24,
DoorOpenedSupervisorPassword = 25,
ControllerPowerOn = 28,
ControllerReset = 29,
PushbuttonInvalidDoorLocked = 31,
PushbuttonInvalidDoorOffline = 32,
PushbuttonInvalidDoorInterlock = 33,
PushbuttonInvalidDoorThreat = 34,
DoorOpenTooLong = 37,
ForcedOpen = 38,
Fire = 39,
ForcedClosed = 40,
TheftPrevention = 41,
TwentyFourSevenZone = 42,
Emergency = 43,
RemoteOpenDoor = 44,
RemoteOpenDoorUsbReader = 45,
}
Variants§
None = 0
Swipe = 1
Denied = 5
NoAccessRights = 6
IncorrectPassword = 7
AntiPassback = 8
MoreCards = 9
FirstCardOpen = 10
DoorIsNormallyClosed = 11
Interlock = 12
NotInAllowedTimePeriod = 13
InvalidTimeZone = 15
AccessDenied = 18
PushButtonOk = 20
DoorOpen = 23
DoorClosed = 24
DoorOpenedSupervisorPassword = 25
ControllerPowerOn = 28
ControllerReset = 29
DoorOpenTooLong = 37
ForcedOpen = 38
Fire = 39
ForcedClosed = 40
TheftPrevention = 41
TwentyFourSevenZone = 42
Emergency = 43
RemoteOpenDoor = 44
RemoteOpenDoorUsbReader = 45
Trait Implementations§
Source§impl Debug for EventReason
impl Debug for EventReason
Source§impl From<u8> for EventReason
impl From<u8> for EventReason
Source§fn from(reason: u8) -> EventReason
fn from(reason: u8) -> EventReason
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventReason
impl RefUnwindSafe for EventReason
impl Send for EventReason
impl Sync for EventReason
impl Unpin for EventReason
impl UnwindSafe for EventReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more