Advertisement
wellthatsucks

Untitled

Mar 2nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. impl Default for GstRcExt<RTSPTokenRef> {
  2. fn default() -> Self {
  3. Self::new()
  4. }
  5. }
  6.  
  7. error[E0277]: the trait bound `r_t_s_p_token::GstRcExt<r_t_s_p_token::RTSPTokenRef> + 'static: std::marker::Sized` is not satisfied
  8. --> /home/meh/devel/rust/gstreamer-rs/gstreamer-rtsp-server/src/r_t_s_p_token.rs:44:6
  9. |
  10. 44 | impl Default for GstRcExt<RTSPTokenRef> {
  11. | ^^^^^^^ `r_t_s_p_token::GstRcExt<r_t_s_p_token::RTSPTokenRef> + 'static` does not have a constant size known at compile-time
  12. |
  13. = help: the trait `std::marker::Sized` is not implemented for `r_t_s_p_token::GstRcExt<r_t_s_p_token::RTSPTokenRef> + 'static`
  14.  
  15. error[E0038]: the trait `r_t_s_p_token::GstRcExt` cannot be made into an object
  16. --> /home/meh/devel/rust/gstreamer-rs/gstreamer-rtsp-server/src/r_t_s_p_token.rs:44:6
  17. |
  18. 44 | impl Default for GstRcExt<RTSPTokenRef> {
  19. | ^^^^^^^ the trait `r_t_s_p_token::GstRcExt` cannot be made into an object
  20. |
  21. = note: method `new_empty` has no receiver
  22. = note: method `new` has no receiver
  23.  
  24. error[E0038]: the trait `r_t_s_p_token::GstRcExt` cannot be made into an object
  25. --> /home/meh/devel/rust/gstreamer-rs/gstreamer-rtsp-server/src/r_t_s_p_token.rs:45:5
  26. |
  27. 45 | fn default() -> Self {
  28. | ^^^^^^^^^^^^^^^^^^^^ the trait `r_t_s_p_token::GstRcExt` cannot be made into an object
  29. |
  30. = note: method `new_empty` has no receiver
  31. = note: method `new` has no receiver
  32.  
  33. error: aborting due to 3 previous errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement