Enum gst::Message
[−]
[src]
pub enum Message { Unknown(*mut GstMessage), Eos(*mut GstMessage), Error(*mut GstMessage), ErrorParsed { msg: *mut GstMessage, error: Error, debug: String, }, Warning(*mut GstMessage), WarningParsed { msg: *mut GstMessage, error: Error, debug: String, }, Info(*mut GstMessage), InfoParsed { msg: *mut GstMessage, error: Error, debug: String, }, Tag(*mut GstMessage), TagParsed { msg: *mut GstMessage, tags: *mut GstTagList, }, Buffering(*mut GstMessage), BufferingParsed { msg: *mut GstMessage, pct: i32, }, StateChanged(*mut GstMessage), StateChangedParsed { msg: *mut GstMessage, old: GstState, new: GstState, pending: GstState, }, StateDirty(*mut GstMessage), StepDone(*mut GstMessage), ClockProvide(*mut GstMessage), ClockLost(*mut GstMessage), NewClock(*mut GstMessage), StructureChange(*mut GstMessage), StreamStatus(*mut GstMessage), Application(*mut GstMessage), Element(*mut GstMessage), SegmentStart(*mut GstMessage), SegmentDone(*mut GstMessage), DurationChanged(*mut GstMessage), Latency(*mut GstMessage), AsyncStart(*mut GstMessage), AsyncDone(*mut GstMessage), RequestState(*mut GstMessage), StepStart(*mut GstMessage), Qos(*mut GstMessage), Progress(*mut GstMessage), Toc(*mut GstMessage), ResetTime(*mut GstMessage), StreamStart(*mut GstMessage), NeedContext(*mut GstMessage), HaveContext(*mut GstMessage), Extended(*mut GstMessage), DeviceAdded(*mut GstMessage), DeviceRemoved(*mut GstMessage), Any(*mut GstMessage), }
Variants
Unknown(*mut GstMessage)
Eos(*mut GstMessage)
Error(*mut GstMessage)
ErrorParsed
Fields of ErrorParsed
msg: *mut GstMessage | |
error: Error | |
debug: String |
Warning(*mut GstMessage)
WarningParsed
Fields of WarningParsed
msg: *mut GstMessage | |
error: Error | |
debug: String |
Info(*mut GstMessage)
InfoParsed
Fields of InfoParsed
msg: *mut GstMessage | |
error: Error | |
debug: String |
Tag(*mut GstMessage)
TagParsed
Fields of TagParsed
msg: *mut GstMessage | |
Buffering(*mut GstMessage)
BufferingParsed
Fields of BufferingParsed
msg: *mut GstMessage | |
pct: i32 |
StateChanged(*mut GstMessage)
StateChangedParsed
Fields of StateChangedParsed
msg: *mut GstMessage | |
old: GstState | |
new: GstState | |
pending: GstState |
StateDirty(*mut GstMessage)
StepDone(*mut GstMessage)
ClockProvide(*mut GstMessage)
ClockLost(*mut GstMessage)
NewClock(*mut GstMessage)
StructureChange(*mut GstMessage)
StreamStatus(*mut GstMessage)
Application(*mut GstMessage)
Element(*mut GstMessage)
SegmentStart(*mut GstMessage)
SegmentDone(*mut GstMessage)
DurationChanged(*mut GstMessage)
Latency(*mut GstMessage)
AsyncStart(*mut GstMessage)
AsyncDone(*mut GstMessage)
RequestState(*mut GstMessage)
StepStart(*mut GstMessage)
Qos(*mut GstMessage)
Progress(*mut GstMessage)
Toc(*mut GstMessage)
ResetTime(*mut GstMessage)
StreamStart(*mut GstMessage)
NeedContext(*mut GstMessage)
HaveContext(*mut GstMessage)
Extended(*mut GstMessage)
DeviceAdded(*mut GstMessage)
DeviceRemoved(*mut GstMessage)
Any(*mut GstMessage)
Methods
impl Message
[src]
unsafe fn new(gst_message: *const GstMessage) -> Option<Message>
unsafe fn new_eos(src: *mut GstObject) -> Option<Message>
unsafe fn new_error(
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
unsafe fn new_warning(
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
unsafe fn new_info(
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
src: *mut GstObject,
error: *mut GError,
debug: &str
) -> Option<Message>
unsafe fn new_tag(
src: *mut GstObject,
tag_list: *mut GstTagList
) -> Option<Message>
src: *mut GstObject,
tag_list: *mut GstTagList
) -> Option<Message>
unsafe fn new_buffering(src: *mut GstObject, pct: i32) -> Option<Message>
unsafe fn new_state_changed(
src: *mut GstObject,
old_state: GstState,
new_state: GstState,
pending: GstState
) -> Option<Message>
src: *mut GstObject,
old_state: GstState,
new_state: GstState,
pending: GstState
) -> Option<Message>
unsafe fn new_state_dirty(src: *mut GstObject) -> Option<Message>
unsafe fn new_step_done(
src: *mut GstObject,
format: GstFormat,
amount: u64,
rate: f64,
flush: bool,
intermediate: bool,
duration: u64,
eos: bool
) -> Option<Message>
src: *mut GstObject,
format: GstFormat,
amount: u64,
rate: f64,
flush: bool,
intermediate: bool,
duration: u64,
eos: bool
) -> Option<Message>
unsafe fn new_clock_provide(
src: *mut GstObject,
clock: *mut GstClock,
ready: bool
) -> Option<Message>
src: *mut GstObject,
clock: *mut GstClock,
ready: bool
) -> Option<Message>
unsafe fn new_clock_lost(
src: *mut GstObject,
clock: *mut GstClock
) -> Option<Message>
src: *mut GstObject,
clock: *mut GstClock
) -> Option<Message>
unsafe fn new_new_clock(
src: *mut GstObject,
clock: *mut GstClock
) -> Option<Message>
src: *mut GstObject,
clock: *mut GstClock
) -> Option<Message>
unsafe fn new_application(
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
unsafe fn new_element(
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
unsafe fn new_custom(
ty: GstMessageType,
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
ty: GstMessageType,
src: *mut GstObject,
structure: *mut GstStructure
) -> Option<Message>
unsafe fn gst_message(&self) -> *const GstMessage
unsafe fn gst_message_mut(&mut self) -> *mut GstMessage
fn ty(&self) -> GstMessageType
fn type_name(&self) -> String
fn seqnum(&self) -> u32
fn set_seqnum(&mut self, seqnum: u32)
fn timestamp(&self) -> u64
unsafe fn src(&self) -> *mut GstObject
fn src_name(&self) -> String
unsafe fn structure(&self) -> *const GstStructure
fn make_writable(&self) -> Option<Message>
fn is_writable(&self) -> bool
fn parse(&self) -> Message
Trait Implementations
impl Send for Message
[src]
impl Drop for Message
[src]
impl Transfer<GstMessage> for Message
[src]
unsafe fn transfer(self) -> *mut GstMessage
Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more