pub struct LandlockConfig {
pub path: String,
pub access: String,
}Fields§
§path: String§access: StringImplementations§
Source§impl LandlockConfig
impl LandlockConfig
pub fn new(path: String, access: String) -> LandlockConfig
Trait Implementations§
Source§impl Clone for LandlockConfig
impl Clone for LandlockConfig
Source§fn clone(&self) -> LandlockConfig
fn clone(&self) -> LandlockConfig
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 LandlockConfig
impl Debug for LandlockConfig
Source§impl Default for LandlockConfig
impl Default for LandlockConfig
Source§fn default() -> LandlockConfig
fn default() -> LandlockConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LandlockConfig
impl<'de> Deserialize<'de> for LandlockConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LandlockConfig
impl PartialEq for LandlockConfig
Source§impl Serialize for LandlockConfig
impl Serialize for LandlockConfig
impl StructuralPartialEq for LandlockConfig
Auto Trait Implementations§
impl Freeze for LandlockConfig
impl RefUnwindSafe for LandlockConfig
impl Send for LandlockConfig
impl Sync for LandlockConfig
impl Unpin for LandlockConfig
impl UnwindSafe for LandlockConfig
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