Struct gstreamer::message::RequestState
source · pub struct RequestState<T = MessageRef>(/* private fields */);
Implementations§
source§impl RequestState
impl RequestState
pub fn message(&self) -> &MessageRef
source§impl RequestState<Message>
impl RequestState<Message>
pub fn get_mut(&mut self) -> Option<&mut RequestState>
source§impl RequestState
impl RequestState
Trait Implementations§
source§impl Borrow<RequestState> for RequestState<Message>
impl Borrow<RequestState> for RequestState<Message>
source§fn borrow(&self) -> &RequestState
fn borrow(&self) -> &RequestState
Immutably borrows from an owned value. Read more
source§impl Debug for RequestState
impl Debug for RequestState
source§impl Debug for RequestState<Message>
impl Debug for RequestState<Message>
source§impl Deref for RequestState
impl Deref for RequestState
source§impl Deref for RequestState<Message>
impl Deref for RequestState<Message>
source§impl From<RequestState<Message>> for Message
impl From<RequestState<Message>> for Message
source§fn from(concrete: RequestState<Message>) -> Self
fn from(concrete: RequestState<Message>) -> Self
Converts to this type from the input type.
source§impl ToOwned for RequestState
impl ToOwned for RequestState
§type Owned = RequestState<Message>
type Owned = RequestState<Message>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl<T> Freeze for RequestState<T>where
T: Freeze,
impl<T> RefUnwindSafe for RequestState<T>where
T: RefUnwindSafe,
impl<T> Send for RequestState<T>where
T: Send,
impl<T> Sync for RequestState<T>where
T: Sync,
impl<T> Unpin for RequestState<T>where
T: Unpin,
impl<T> UnwindSafe for RequestState<T>where
T: UnwindSafe,
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> 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