pub enum ChannelProperty<'a> {
String {
property: ChannelStringProperty,
data: Result<&'a str, Error>,
},
CodecType {
property: ChannelCodecTypeProperty,
data: Result<CodecType, Error>,
},
I32 {
property: ChannelI32Property,
data: Result<i32, Error>,
},
Bool {
property: ChannelBoolProperty,
data: Result<bool, Error>,
},
HostbannerMode {
property: ChannelHostbannerModeProperty,
data: Result<HostbannerMode, Error>,
},
OptionChannel {
property: ChannelOptionChannelProperty,
data: Result<Option<Channel<'a>>, Error>,
},
}Variants§
Implementations§
Source§impl<'a> ChannelProperty<'a>
impl<'a> ChannelProperty<'a>
pub fn error(&self) -> Option<Error>
pub fn property_eq(&self, other: &ChannelProperty<'_>) -> bool
Trait Implementations§
Source§impl<'a> Clone for ChannelProperty<'a>
impl<'a> Clone for ChannelProperty<'a>
Source§fn clone(&self) -> ChannelProperty<'a>
fn clone(&self) -> ChannelProperty<'a>
Returns a duplicate 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<'a> Debug for ChannelProperty<'a>
impl<'a> Debug for ChannelProperty<'a>
Source§impl<'a> PartialEq for ChannelProperty<'a>
impl<'a> PartialEq for ChannelProperty<'a>
impl<'a> Eq for ChannelProperty<'a>
impl<'a> StructuralPartialEq for ChannelProperty<'a>
Auto Trait Implementations§
impl<'a> Freeze for ChannelProperty<'a>
impl<'a> RefUnwindSafe for ChannelProperty<'a>
impl<'a> Send for ChannelProperty<'a>
impl<'a> Sync for ChannelProperty<'a>
impl<'a> Unpin for ChannelProperty<'a>
impl<'a> UnwindSafe for ChannelProperty<'a>
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