#[repr(transparent)]pub struct switch_status_t(pub c_uint);Expand description
\enum switch_status_t \brief Common return values
SWITCH_STATUS_SUCCESS - General Success (common return value for most functions) SWITCH_STATUS_FALSE - General Falsehood SWITCH_STATUS_TIMEOUT - A Timeout has occured SWITCH_STATUS_RESTART - An indication to restart the previous operation SWITCH_STATUS_TERM - An indication to terminate SWITCH_STATUS_NOTIMPL - An indication that requested resource is not impelemented SWITCH_STATUS_MEMERR - General memory error SWITCH_STATUS_NOOP - NOTHING SWITCH_STATUS_RESAMPLE - An indication that a resample has occured SWITCH_STATUS_GENERR - A general Error SWITCH_STATUS_INUSE - An indication that requested resource is in use SWITCH_STATUS_BREAK - A non-fatal break of an operation SWITCH_STATUS_SOCKERR - A socket error SWITCH_STATUS_MORE_DATA - Need More Data SWITCH_STATUS_NOTFOUND - Not Found SWITCH_STATUS_UNLOAD - Unload SWITCH_STATUS_NOUNLOAD - Never Unload
Tuple Fields§
§0: c_uintImplementations§
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_SUCCESS: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_FALSE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_TIMEOUT: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_RESTART: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_INTR: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_NOTIMPL: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_MEMERR: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_NOOP: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_RESAMPLE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_GENERR: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_INUSE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_BREAK: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_SOCKERR: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_MORE_DATA: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_NOTFOUND: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_UNLOAD: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_NOUNLOAD: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_IGNORE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_TOO_SMALL: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_FOUND: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_CONTINUE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_TERM: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_TOO_LATE: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_XBREAK: switch_status_t
Source§impl switch_status_t
impl switch_status_t
pub const SWITCH_STATUS_WINBREAK: switch_status_t
Trait Implementations§
Source§impl Clone for switch_status_t
impl Clone for switch_status_t
Source§fn clone(&self) -> switch_status_t
fn clone(&self) -> switch_status_t
Returns a duplicate 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 switch_status_t
impl Debug for switch_status_t
Source§impl Hash for switch_status_t
impl Hash for switch_status_t
Source§impl PartialEq for switch_status_t
impl PartialEq for switch_status_t
impl Copy for switch_status_t
impl Eq for switch_status_t
impl StructuralPartialEq for switch_status_t
Auto Trait Implementations§
impl Freeze for switch_status_t
impl RefUnwindSafe for switch_status_t
impl Send for switch_status_t
impl Sync for switch_status_t
impl Unpin for switch_status_t
impl UnwindSafe for switch_status_t
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