Struct edgedb_tokio::state::Unset

source ·
pub struct Unset<I>(pub I);
Expand description

Unset a set of global or config variables

Accepts an iterator of names. Used with globals lie this:

let conn = conn.with_globals(Unset(["xxx", "yyy"]));

Tuple Fields§

§0: I

Trait Implementations§

source§

impl<S: AsRef<str>, I: IntoIterator<Item = S>> AliasesDelta for Unset<I>

source§

fn apply(self, man: &mut AliasesModifier<'_>)

Applies variables delta using specified modifier object
source§

impl<S: AsRef<str>, I: IntoIterator<Item = S>> ConfigDelta for Unset<I>

source§

fn apply(self, man: &mut ConfigModifier<'_>)

Applies variables delta using specified modifier object
source§

impl<I: Debug> Debug for Unset<I>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<S: AsRef<str>, I: IntoIterator<Item = S>> GlobalsDelta for Unset<I>

source§

fn apply(self, man: &mut GlobalsModifier<'_>)

Applies variables delta using specified modifier object

Auto Trait Implementations§

§

impl<I> Freeze for Unset<I>
where I: Freeze,

§

impl<I> RefUnwindSafe for Unset<I>
where I: RefUnwindSafe,

§

impl<I> Send for Unset<I>
where I: Send,

§

impl<I> Sync for Unset<I>
where I: Sync,

§

impl<I> Unpin for Unset<I>
where I: Unpin,

§

impl<I> UnwindSafe for Unset<I>
where I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V