pub struct VideoData {
pub file: String,
pub cache: Option<bool>,
pub proxy: Option<bool>,
pub timeout: Option<i32>,
}Fields§
§file: String§cache: Option<bool>§proxy: Option<bool>§timeout: Option<i32>§说明
只在通过网络 URL 发送时有效,单位秒,表示下载网络文件的超时时间,默认不超时
Trait Implementations§
Source§impl SendSegmentData for VideoData
impl SendSegmentData for VideoData
fn into_send_segment(self) -> SendSegment
Auto Trait Implementations§
impl Freeze for VideoData
impl RefUnwindSafe for VideoData
impl Send for VideoData
impl Sync for VideoData
impl Unpin for VideoData
impl UnsafeUnpin for VideoData
impl UnwindSafe for VideoData
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