pub struct IOPermissions {
pub filesystem_enabled: bool,
pub network_enabled: bool,
}Expand description
IO 权限配置
Fields§
§filesystem_enabled: bool是否允许文件系统操作
network_enabled: bool是否允许网络操作
Implementations§
Trait Implementations§
Source§impl Clone for IOPermissions
impl Clone for IOPermissions
Source§fn clone(&self) -> IOPermissions
fn clone(&self) -> IOPermissions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IOPermissions
impl Debug for IOPermissions
Source§impl Default for IOPermissions
impl Default for IOPermissions
Source§fn default() -> IOPermissions
fn default() -> IOPermissions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IOPermissions
impl RefUnwindSafe for IOPermissions
impl Send for IOPermissions
impl Sync for IOPermissions
impl Unpin for IOPermissions
impl UnwindSafe for IOPermissions
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