pub struct OpEnvPathAccess { /* private fields */ }
Implementations§
Source§impl OpEnvPathAccess
impl OpEnvPathAccess
pub fn new(path: &str, access: AccessPermissions) -> Self
pub fn check_full_path( &self, full_path: &str, op_type: RequestOpType, ) -> BuckyResult<()>
pub fn check_full_path_list( &self, list: &Vec<String>, op_type: RequestOpType, ) -> BuckyResult<()>
pub fn check_path_key( &self, path: &str, key: &str, op_type: RequestOpType, ) -> BuckyResult<()>
Auto Trait Implementations§
impl Freeze for OpEnvPathAccess
impl RefUnwindSafe for OpEnvPathAccess
impl Send for OpEnvPathAccess
impl Sync for OpEnvPathAccess
impl Unpin for OpEnvPathAccess
impl UnwindSafe for OpEnvPathAccess
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more