pub enum WeakDictionaryOrRouter {
Dictionary(Weak<Dictionary>),
Router(Weak<Router<Dictionary>>),
}Variants§
Dictionary(Weak<Dictionary>)
Router(Weak<Router<Dictionary>>)
Trait Implementations§
Source§impl From<Weak<Dictionary>> for WeakDictionaryOrRouter
impl From<Weak<Dictionary>> for WeakDictionaryOrRouter
Source§fn from(d: Weak<Dictionary>) -> Self
fn from(d: Weak<Dictionary>) -> Self
Converts to this type from the input type.
Source§impl From<Weak<Router<Dictionary>>> for WeakDictionaryOrRouter
impl From<Weak<Router<Dictionary>>> for WeakDictionaryOrRouter
Auto Trait Implementations§
impl !RefUnwindSafe for WeakDictionaryOrRouter
impl !UnwindSafe for WeakDictionaryOrRouter
impl Freeze for WeakDictionaryOrRouter
impl Send for WeakDictionaryOrRouter
impl Sync for WeakDictionaryOrRouter
impl Unpin for WeakDictionaryOrRouter
impl UnsafeUnpin for WeakDictionaryOrRouter
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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