[][src]Enum gst::Message

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 GstMessageerror: Errordebug: String
Warning(*mut GstMessage)WarningParsed

Fields of WarningParsed

msg: *mut GstMessageerror: Errordebug: String
Info(*mut GstMessage)InfoParsed

Fields of InfoParsed

msg: *mut GstMessageerror: Errordebug: String
Tag(*mut GstMessage)TagParsed

Fields of TagParsed

msg: *mut GstMessagetags: *mut GstTagList
Buffering(*mut GstMessage)BufferingParsed

Fields of BufferingParsed

msg: *mut GstMessagepct: i32
StateChanged(*mut GstMessage)StateChangedParsed

Fields of StateChangedParsed

msg: *mut GstMessageold: GstStatenew: GstStatepending: 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]

pub unsafe fn new(gst_message: *const GstMessage) -> Option<Message>[src]

pub unsafe fn new_eos(src: *mut GstObject) -> Option<Message>[src]

pub unsafe fn new_error(
    src: *mut GstObject,
    error: *mut GError,
    debug: &str
) -> Option<Message>
[src]

pub unsafe fn new_warning(
    src: *mut GstObject,
    error: *mut GError,
    debug: &str
) -> Option<Message>
[src]

pub unsafe fn new_info(
    src: *mut GstObject,
    error: *mut GError,
    debug: &str
) -> Option<Message>
[src]

pub unsafe fn new_tag(
    src: *mut GstObject,
    tag_list: *mut GstTagList
) -> Option<Message>
[src]

pub unsafe fn new_buffering(src: *mut GstObject, pct: i32) -> Option<Message>[src]

pub unsafe fn new_state_changed(
    src: *mut GstObject,
    old_state: GstState,
    new_state: GstState,
    pending: GstState
) -> Option<Message>
[src]

pub unsafe fn new_state_dirty(src: *mut GstObject) -> Option<Message>[src]

pub 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]

pub unsafe fn new_clock_provide(
    src: *mut GstObject,
    clock: *mut GstClock,
    ready: bool
) -> Option<Message>
[src]

pub unsafe fn new_clock_lost(
    src: *mut GstObject,
    clock: *mut GstClock
) -> Option<Message>
[src]

pub unsafe fn new_new_clock(
    src: *mut GstObject,
    clock: *mut GstClock
) -> Option<Message>
[src]

pub unsafe fn new_application(
    src: *mut GstObject,
    structure: *mut GstStructure
) -> Option<Message>
[src]

pub unsafe fn new_element(
    src: *mut GstObject,
    structure: *mut GstStructure
) -> Option<Message>
[src]

pub unsafe fn new_custom(
    ty: GstMessageType,
    src: *mut GstObject,
    structure: *mut GstStructure
) -> Option<Message>
[src]

pub unsafe fn gst_message(&self) -> *const GstMessage[src]

pub unsafe fn gst_message_mut(&mut self) -> *mut GstMessage[src]

pub fn ty(&self) -> GstMessageType[src]

pub fn type_name(&self) -> String[src]

pub fn seqnum(&self) -> u32[src]

pub fn set_seqnum(&mut self, seqnum: u32)[src]

pub fn timestamp(&self) -> u64[src]

pub unsafe fn src(&self) -> *mut GstObject[src]

pub fn src_name(&self) -> String[src]

pub unsafe fn structure(&self) -> *const GstStructure[src]

pub fn make_writable(&self) -> Option<Message>[src]

pub fn is_writable(&self) -> bool[src]

pub fn parse(&self) -> Message[src]

Trait Implementations

impl Transfer<Struct__GstMessage> for Message[src]

impl Send for Message[src]

impl Drop for Message[src]

Auto Trait Implementations

impl !Sync for Message

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.