#[non_exhaustive]
pub enum AttributeLine<'a> {
Show 24 variants Candidate(Candidate<'a>), Ice(IceParameter<'a>), Mid(Mid<'a>), MsidSemantic(MsidSemantic<'a>), Msid(Msid<'a>), RtpMap(RtpMap<'a>), PTime(PTime), Ssrc(Ssrc<'a>), BundleGroup(BundleGroup<'a>), SsrcGroup(SsrcGroup), Fingerprint(Fingerprint<'a>), Direction(Direction), Rtp(Rtp<'a>), Rtcp(Rtcp), Fmtp(Fmtp<'a>), RtcpFb(Fb<'a>), RtcpOption(RtcpOption), Control(Control<'a>), SetupRole(SetupRole), Extmap(Extmap<'a>), BundleOnly, EoC, KeyValue { key: Cow<'a, str>, val: Cow<'a, str>, }, KeyOnly(Cow<'a, str>),
}

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.

Candidate(Candidate<'a>)

a=candidate:1853887674 2 udp 1518280447 0.0.0.0 36768 typ srflx raddr 192.168.0.196 rport 36768 generation 0

Ice(IceParameter<'a>)

Mid(Mid<'a>)

MsidSemantic(MsidSemantic<'a>)

Msid(Msid<'a>)

RtpMap(RtpMap<'a>)

PTime(PTime)

Ssrc(Ssrc<'a>)

BundleGroup(BundleGroup<'a>)

SsrcGroup(SsrcGroup)

Fingerprint(Fingerprint<'a>)

Direction(Direction)

Rtp(Rtp<'a>)

Rtcp(Rtcp)

Fmtp(Fmtp<'a>)

RtcpFb(Fb<'a>)

RtcpOption(RtcpOption)

Control(Control<'a>)

SetupRole(SetupRole)

Extmap(Extmap<'a>)

BundleOnly

EoC

KeyValue

Fields

key: Cow<'a, str>
val: Cow<'a, str>

KeyOnly(Cow<'a, str>)

Implementations

Returns a version of self with all fields converted to owning versions.

Optionally returns mutable references to the inner fields if this is a AttributeLine::Candidate, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Candidate, otherwise None

Returns the inner fields if this is a AttributeLine::Candidate, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Ice, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Ice, otherwise None

Returns the inner fields if this is a AttributeLine::Ice, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Mid, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Mid, otherwise None

Returns the inner fields if this is a AttributeLine::Mid, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::MsidSemantic, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::MsidSemantic, otherwise None

Returns the inner fields if this is a AttributeLine::MsidSemantic, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Msid, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Msid, otherwise None

Returns the inner fields if this is a AttributeLine::Msid, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::RtpMap, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::RtpMap, otherwise None

Returns the inner fields if this is a AttributeLine::RtpMap, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::PTime, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::PTime, otherwise None

Returns the inner fields if this is a AttributeLine::PTime, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Ssrc, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Ssrc, otherwise None

Returns the inner fields if this is a AttributeLine::Ssrc, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::BundleGroup, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::BundleGroup, otherwise None

Returns the inner fields if this is a AttributeLine::BundleGroup, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::SsrcGroup, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::SsrcGroup, otherwise None

Returns the inner fields if this is a AttributeLine::SsrcGroup, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Fingerprint, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Fingerprint, otherwise None

Returns the inner fields if this is a AttributeLine::Fingerprint, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Direction, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Direction, otherwise None

Returns the inner fields if this is a AttributeLine::Direction, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Rtp, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Rtp, otherwise None

Returns the inner fields if this is a AttributeLine::Rtp, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Rtcp, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Rtcp, otherwise None

Returns the inner fields if this is a AttributeLine::Rtcp, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Fmtp, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Fmtp, otherwise None

Returns the inner fields if this is a AttributeLine::Fmtp, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::RtcpFb, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::RtcpFb, otherwise None

Returns the inner fields if this is a AttributeLine::RtcpFb, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::RtcpOption, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::RtcpOption, otherwise None

Returns the inner fields if this is a AttributeLine::RtcpOption, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Control, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Control, otherwise None

Returns the inner fields if this is a AttributeLine::Control, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::SetupRole, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::SetupRole, otherwise None

Returns the inner fields if this is a AttributeLine::SetupRole, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::Extmap, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::Extmap, otherwise None

Returns the inner fields if this is a AttributeLine::Extmap, otherwise returns back the enum in the Err case of the result

Optionally returns references to the inner fields if this is a AttributeLine::BundleOnly, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::BundleOnly, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::EoC, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::EoC, otherwise None

Optionally returns mutable references to the inner fields if this is a AttributeLine::KeyValue, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::KeyValue, otherwise None

Returns the inner fields if this is a AttributeLine::KeyValue, otherwise returns back the enum in the Err case of the result

Optionally returns mutable references to the inner fields if this is a AttributeLine::KeyOnly, otherwise None

Optionally returns references to the inner fields if this is a AttributeLine::KeyOnly, otherwise None

Returns the inner fields if this is a AttributeLine::KeyOnly, otherwise returns back the enum in the Err case of the result

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Formats the value using the given formatter

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.