pub struct Watching {
pub seen: Rc<RefCell<Vec<String>>>,
}Expand description
The authorizer .auth on installs: it allows everything and says so.
Fields§
§seen: Rc<RefCell<Vec<String>>>Where the lines go until the shell prints them.
Trait Implementations§
Source§impl Authorizer for Watching
impl Authorizer for Watching
Records one decision and allows it.
@param action - what the binder is about to bind
Source§fn allows_everything(&self) -> bool
fn allows_everything(&self) -> bool
Reports whether this authorizer allows every action unconditionally. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for Watching
impl !Send for Watching
impl !Sync for Watching
impl !UnwindSafe for Watching
impl Freeze for Watching
impl Unpin for Watching
impl UnsafeUnpin for Watching
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> 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