Struct thaw_utils::OptionalMaybeSignal
source · pub struct OptionalMaybeSignal<T: 'static>(/* private fields */);Trait Implementations§
source§impl<T: Clone> Clone for OptionalMaybeSignal<T>
impl<T: Clone> Clone for OptionalMaybeSignal<T>
source§impl<T> Default for OptionalMaybeSignal<T>
impl<T> Default for OptionalMaybeSignal<T>
source§impl<T> Deref for OptionalMaybeSignal<T>
impl<T> Deref for OptionalMaybeSignal<T>
source§impl<T> From<MaybeSignal<Option<T>>> for OptionalMaybeSignal<T>
impl<T> From<MaybeSignal<Option<T>>> for OptionalMaybeSignal<T>
source§fn from(value: MaybeSignal<Option<T>>) -> Self
fn from(value: MaybeSignal<Option<T>>) -> Self
Converts to this type from the input type.
source§impl<T> From<Option<T>> for OptionalMaybeSignal<T>
impl<T> From<Option<T>> for OptionalMaybeSignal<T>
source§impl<T> From<ReadSignal<Option<T>>> for OptionalMaybeSignal<T>
impl<T> From<ReadSignal<Option<T>>> for OptionalMaybeSignal<T>
source§fn from(value: ReadSignal<Option<T>>) -> Self
fn from(value: ReadSignal<Option<T>>) -> Self
Converts to this type from the input type.
source§impl<T> From<T> for OptionalMaybeSignal<T>
impl<T> From<T> for OptionalMaybeSignal<T>
impl<T: Copy> Copy for OptionalMaybeSignal<T>
Auto Trait Implementations§
impl<T> Freeze for OptionalMaybeSignal<T>where
T: Freeze,
impl<T> !RefUnwindSafe for OptionalMaybeSignal<T>
impl<T> !Send for OptionalMaybeSignal<T>
impl<T> !Sync for OptionalMaybeSignal<T>
impl<T> Unpin for OptionalMaybeSignal<T>where
T: Unpin,
impl<T> !UnwindSafe for OptionalMaybeSignal<T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<CustErr, T, Request> FromReq<Streaming, Request, CustErr> for T
impl<CustErr, T, Request> FromReq<Streaming, Request, CustErr> for T
source§async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
Attempts to deserialize the arguments from a request.
source§impl<CustErr, T, Request> FromReq<StreamingText, Request, CustErr> for T
impl<CustErr, T, Request> FromReq<StreamingText, Request, CustErr> for T
source§async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
async fn from_req(req: Request) -> Result<T, ServerFnError<CustErr>>
Attempts to deserialize the arguments from a request.
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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