pub struct Active {
pub params: ValidScoConnectionParameters,
/* private fields */
}
Fields§
§params: ValidScoConnectionParameters
Implementations§
Trait Implementations§
Source§impl Unit for Active
impl Unit for Active
Source§type Data = <Connection as Unit>::Data
type Data = <Connection as Unit>::Data
This associated type owns a subtree (either a property or a node) of a parent inspect node.
May be nested. When dropped, the subtree is detached from the parent.
Default is required such that a detached state can be constructed. The base inspect node
and property types implement default.
Source§fn inspect_create(&self, parent: &Node, name: impl AsRef<str>) -> Self::Data
fn inspect_create(&self, parent: &Node, name: impl AsRef<str>) -> Self::Data
Insert an inspect subtree at
parent[name]
with values from self
and return
the inspect data.Source§fn inspect_update(&self, data: &mut Self::Data)
fn inspect_update(&self, data: &mut Self::Data)
Update the inspect subtree owned by the inspect data with values from self.
Auto Trait Implementations§
impl Freeze for Active
impl !RefUnwindSafe for Active
impl Send for Active
impl Sync for Active
impl Unpin for Active
impl !UnwindSafe for Active
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
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