#[repr(u32)]pub enum LoginType {
Public = 0,
User = 1,
Group = 2,
Application = 4,
ApplicationUser = 5,
ApplicationGroup = 6,
TrustedApp = 4_026_531_840,
Unknown(u32),
}Expand description
The login type of a client, as stamped by OP-TEE into TEE_Identity::login.
This is the Rust-side mirror of the TEE_LOGIN_* constants defined in the C
header. The Unknown(u32) variant catches any login value this crate does not
name, so the value always round-trips back through IntoPrimitive.
Variants§
Public = 0
User = 1
Group = 2
Application = 4
ApplicationUser = 5
ApplicationGroup = 6
TrustedApp = 4_026_531_840
Unknown(u32)
Trait Implementations§
impl Copy for LoginType
impl Eq for LoginType
Source§impl FromPrimitive for LoginType
impl FromPrimitive for LoginType
impl StructuralPartialEq for LoginType
Auto Trait Implementations§
impl Freeze for LoginType
impl RefUnwindSafe for LoginType
impl Send for LoginType
impl Sync for LoginType
impl Unpin for LoginType
impl UnsafeUnpin for LoginType
impl UnwindSafe for LoginType
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