Enum gstreamer::PadLinkError
source · #[repr(i32)]pub enum PadLinkError {
WrongHierarchy = -1,
WasLinked = -2,
WrongDirection = -3,
Noformat = -4,
Nosched = -5,
Refused = -6,
}
Variants§
Trait Implementations§
source§impl Clone for PadLinkError
impl Clone for PadLinkError
source§fn clone(&self) -> PadLinkError
fn clone(&self) -> PadLinkError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PadLinkError
impl Debug for PadLinkError
source§impl Display for PadLinkError
impl Display for PadLinkError
source§impl Error for PadLinkError
impl Error for PadLinkError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PadLinkError> for PadLinkReturn
impl From<PadLinkError> for PadLinkReturn
source§fn from(value: PadLinkError) -> Self
fn from(value: PadLinkError) -> Self
Converts to this type from the input type.
source§impl Hash for PadLinkError
impl Hash for PadLinkError
source§impl IntoGlib for PadLinkError
impl IntoGlib for PadLinkError
source§impl PartialEq for PadLinkError
impl PartialEq for PadLinkError
source§fn eq(&self, other: &PadLinkError) -> bool
fn eq(&self, other: &PadLinkError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PadLinkError
impl Eq for PadLinkError
impl StructuralPartialEq for PadLinkError
Auto Trait Implementations§
impl Freeze for PadLinkError
impl RefUnwindSafe for PadLinkError
impl Send for PadLinkError
impl Sync for PadLinkError
impl Unpin for PadLinkError
impl UnwindSafe for PadLinkError
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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