pub enum SdpAttributeFingerprintHashType {
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
}
Variants§
Implementations§
source§impl SdpAttributeFingerprintHashType
impl SdpAttributeFingerprintHashType
pub fn try_from_name(name: &str) -> Result<Self, SdpParserInternalError>
pub fn octet_count(&self) -> usize
pub fn parse_octets( &self, octets_string: &str ) -> Result<Vec<u8>, SdpParserInternalError>
Trait Implementations§
source§impl Clone for SdpAttributeFingerprintHashType
impl Clone for SdpAttributeFingerprintHashType
source§fn clone(&self) -> SdpAttributeFingerprintHashType
fn clone(&self) -> SdpAttributeFingerprintHashType
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 PartialEq for SdpAttributeFingerprintHashType
impl PartialEq for SdpAttributeFingerprintHashType
source§fn eq(&self, other: &SdpAttributeFingerprintHashType) -> bool
fn eq(&self, other: &SdpAttributeFingerprintHashType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SdpAttributeFingerprintHashType
impl Eq for SdpAttributeFingerprintHashType
impl StructuralEq for SdpAttributeFingerprintHashType
impl StructuralPartialEq for SdpAttributeFingerprintHashType
Auto Trait Implementations§
impl RefUnwindSafe for SdpAttributeFingerprintHashType
impl Send for SdpAttributeFingerprintHashType
impl Sync for SdpAttributeFingerprintHashType
impl Unpin for SdpAttributeFingerprintHashType
impl UnwindSafe for SdpAttributeFingerprintHashType
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