#[repr(u32)]pub enum RpcScope {
Configuration = 0,
DebugReadOnly = 1,
DebugWrite = 2,
DebugWriteFull = 3,
}Expand description
Scope of access for an RPC request.
Corresponds to the C enum fwctl_rpc_scope.
Variants§
Configuration = 0
Read/write access to device configuration.
DebugReadOnly = 1
Read-only access to debug information.
DebugWrite = 2
Write access to lockdown-compatible debug information.
DebugWriteFull = 3
Full read/write access to all debug information (requires CAP_SYS_RAWIO).
Trait Implementations§
impl Copy for RpcScope
impl Eq for RpcScope
impl StructuralPartialEq for RpcScope
Auto Trait Implementations§
impl Freeze for RpcScope
impl RefUnwindSafe for RpcScope
impl Send for RpcScope
impl Sync for RpcScope
impl Unpin for RpcScope
impl UnsafeUnpin for RpcScope
impl UnwindSafe for RpcScope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.