[2023-06-20 12:05:03] error[E0277]: `?` couldn't convert the error to `error::Error`
[2023-06-20 12:05:03] --> /cargo_home/registry/src/github.com-1ecc6299db9ec823/webrtc-srtp-0.9.1/src/session/mod.rs:259:32
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 259 | let raw = pkt.marshal()?;
[2023-06-20 12:05:03] | ^ the trait `From<webrtc_util::error::Error>` is not implemented for `error::Error`
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[2023-06-20 12:05:03] = help: the following other types implement trait `From<T>`:
[2023-06-20 12:05:03] <error::Error as From<KeyingMaterialExporterError>>
[2023-06-20 12:05:03] <error::Error as From<aes_gcm::Error>>
[2023-06-20 12:05:03] <error::Error as From<rtcp::Error>>
[2023-06-20 12:05:03] <error::Error as From<std::io::Error>>
[2023-06-20 12:05:03] <error::Error as From<tokio::sync::mpsc::error::SendError<T>>>
[2023-06-20 12:05:03] <error::Error as From<webrtc_util::Error>>
[2023-06-20 12:05:03] = note: required for `std::result::Result<usize, error::Error>` to implement `FromResidual<std::result::Result<Infallible, webrtc_util::error::Error>>`
[2023-06-20 12:05:03]
[2023-06-20 12:05:03] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope
[2023-06-20 12:05:03] --> /cargo_home/registry/src/github.com-1ecc6299db9ec823/webrtc-srtp-0.9.1/src/stream.rs:76:44
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 76 | let header = rtcp::header::Header::unmarshal(&mut b)?;
[2023-06-20 12:05:03] | ^^^^^^^^^ function or associated item not found in `Header`
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] = help: items from traits can only be used if the trait is in scope
[2023-06-20 12:05:03] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 1 | use webrtc_util::marshal::Unmarshal;
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03]
[2023-06-20 12:05:03] Compiling webrtc-dtls v0.7.1
[2023-06-20 12:05:03] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope
[2023-06-20 12:05:03] --> /cargo_home/registry/src/github.com-1ecc6299db9ec823/webrtc-srtp-0.9.1/src/context/srtcp.rs:11:31
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 11 | rtcp::header::Header::unmarshal(&mut buf)?;
[2023-06-20 12:05:03] | ^^^^^^^^^ function or associated item not found in `Header`
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] = help: items from traits can only be used if the trait is in scope
[2023-06-20 12:05:03] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 1 | use webrtc_util::marshal::Unmarshal;
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03]
[2023-06-20 12:05:03] error[E0599]: no function or associated item named `unmarshal` found for struct `rtcp::header::Header` in the current scope
[2023-06-20 12:05:03] --> /cargo_home/registry/src/github.com-1ecc6299db9ec823/webrtc-srtp-0.9.1/src/context/srtcp.rs:45:31
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 45 | rtcp::header::Header::unmarshal(&mut buf)?;
[2023-06-20 12:05:03] | ^^^^^^^^^ function or associated item not found in `Header`
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] = help: items from traits can only be used if the trait is in scope
[2023-06-20 12:05:03] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[2023-06-20 12:05:03] |
[2023-06-20 12:05:03] 1 | use webrtc_util::marshal::Unmarshal;
[2023-06-20 12:05:03] |
Refs https://github.com/webrtc-rs/webrtc/issues/412