pub struct SudoCtx<'a, C: CustomQuery = Empty> {
pub deps: DepsMut<'a, C>,
pub env: Env,
}๐Deprecated since 1.3.0: This type will be replaced with
sylvia::ctx::SudoCtx in 2.0.0.Expand description
Represantation of sudo context received in entry point.
Fieldsยง
ยงdeps: DepsMut<'a, C>๐Deprecated since 1.3.0: This type will be replaced with
ยงsylvia::ctx::SudoCtx in 2.0.0.env: Env๐Deprecated since 1.3.0: This type will be replaced with
sylvia::ctx::SudoCtx in 2.0.0.Implementationsยง
Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a, C> Freeze for SudoCtx<'a, C>
impl<'a, C = Empty> !RefUnwindSafe for SudoCtx<'a, C>
impl<'a, C = Empty> !Send for SudoCtx<'a, C>
impl<'a, C = Empty> !Sync for SudoCtx<'a, C>
impl<'a, C> Unpin for SudoCtx<'a, C>where
C: Unpin,
impl<'a, C = Empty> !UnwindSafe for SudoCtx<'a, C>
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, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Sourceยงimpl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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