#[repr(C)]pub struct URLContext {Show 13 fields
pub av_class: *const AVClass,
pub prot: *const URLProtocol,
pub priv_data: *mut c_void,
pub filename: *mut c_char,
pub flags: c_int,
pub max_packet_size: c_int,
pub is_streamed: c_int,
pub is_connected: c_int,
pub interrupt_callback: AVIOInterruptCB,
pub rw_timeout: i64,
pub protocol_whitelist: *const c_char,
pub protocol_blacklist: *const c_char,
pub min_packet_size: c_int,
}
Fields§
§av_class: *const AVClass
< information for av_log(). Set by url_open().
prot: *const URLProtocol
§priv_data: *mut c_void
§filename: *mut c_char
< specified URL
flags: c_int
§max_packet_size: c_int
< if non zero, the stream is packetized with this max packet size
is_streamed: c_int
< true if streamed (no seek possible), default = false
is_connected: c_int
§interrupt_callback: AVIOInterruptCB
§rw_timeout: i64
< maximum time to wait for (network) read/write operation completion, in mcs
protocol_whitelist: *const c_char
§protocol_blacklist: *const c_char
§min_packet_size: c_int
< if non zero, the stream is packetized with this min packet size
Trait Implementations§
Source§impl Clone for URLContext
impl Clone for URLContext
Source§fn clone(&self) -> URLContext
fn clone(&self) -> URLContext
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 Debug for URLContext
impl Debug for URLContext
impl Copy for URLContext
Auto Trait Implementations§
impl Freeze for URLContext
impl RefUnwindSafe for URLContext
impl !Send for URLContext
impl !Sync for URLContext
impl Unpin for URLContext
impl UnwindSafe for URLContext
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