[−][src]Struct jack::ClientStatus
Status flags for JACK clients.
Implementations
impl ClientStatus
[src]
pub const FAILURE: ClientStatus
[src]
Overall operation failed. File an issue if you can get it to appear.
pub const INVALID_OPTION: ClientStatus
[src]
The operation contained an invalid or unsupported option.
pub const NAME_NOT_UNIQUE: ClientStatus
[src]
The desired client name was not unique. With the USE_EXACT_NAME
option this situation
is fatal. Otherwise, the name was modified by appending a dash and a two-digit number in
the range "-01" to "-99". Client::name()
will return the exact string that was
used. If the specified client_name plus these extra characters would be too long, the
open fails instead.
pub const SERVER_STARTED: ClientStatus
[src]
The JACK server was started as a result of this operation. Otherwise, it was running already. In either case the caller is now connected to jackd, so there is no race condition. When the server shuts down, the client will find out.
pub const SERVER_FAILED: ClientStatus
[src]
Unable to connect to the JACK server.
pub const SERVER_ERROR: ClientStatus
[src]
Communication error with the JACK server.
pub const NO_SUCH_CLIENT: ClientStatus
[src]
Requested client does not exist.
pub const LOAD_FAILURE: ClientStatus
[src]
Unable to load internal client
pub const INIT_FAILURE: ClientStatus
[src]
Unable to initialize client
pub const SHM_FAILURE: ClientStatus
[src]
Unable to access shared memory
pub const VERSION_ERROR: ClientStatus
[src]
Client's protocol version does not match
pub const BACKEND_ERROR: ClientStatus
[src]
No documentation found. TODO: dig deeper
pub const CLIENT_ZOMBIE: ClientStatus
[src]
No documentation found. TODO: dig deeper
pub const fn empty() -> ClientStatus
[src]
Returns an empty set of flags
pub const fn all() -> ClientStatus
[src]
Returns the set containing all flags.
pub const fn bits(&self) -> Enum_JackStatus
[src]
Returns the raw value of the flags currently stored.
pub fn from_bits(bits: Enum_JackStatus) -> Option<ClientStatus>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: Enum_JackStatus) -> ClientStatus
[src]
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: Enum_JackStatus) -> ClientStatus
[src]
Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn is_empty(&self) -> bool
[src]
Returns true
if no flags are currently stored.
pub const fn is_all(&self) -> bool
[src]
Returns true
if all flags are currently set.
pub const fn intersects(&self, other: ClientStatus) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
pub const fn contains(&self, other: ClientStatus) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
pub fn insert(&mut self, other: ClientStatus)
[src]
Inserts the specified flags in-place.
pub fn remove(&mut self, other: ClientStatus)
[src]
Removes the specified flags in-place.
pub fn toggle(&mut self, other: ClientStatus)
[src]
Toggles the specified flags in-place.
pub fn set(&mut self, other: ClientStatus, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Binary for ClientStatus
[src]
impl BitAnd<ClientStatus> for ClientStatus
[src]
type Output = ClientStatus
The resulting type after applying the &
operator.
fn bitand(self, other: ClientStatus) -> ClientStatus
[src]
Returns the intersection between the two sets of flags.
impl BitAndAssign<ClientStatus> for ClientStatus
[src]
fn bitand_assign(&mut self, other: ClientStatus)
[src]
Disables all flags disabled in the set.
impl BitOr<ClientStatus> for ClientStatus
[src]
type Output = ClientStatus
The resulting type after applying the |
operator.
fn bitor(self, other: ClientStatus) -> ClientStatus
[src]
Returns the union of the two sets of flags.
impl BitOrAssign<ClientStatus> for ClientStatus
[src]
fn bitor_assign(&mut self, other: ClientStatus)
[src]
Adds the set of flags.
impl BitXor<ClientStatus> for ClientStatus
[src]
type Output = ClientStatus
The resulting type after applying the ^
operator.
fn bitxor(self, other: ClientStatus) -> ClientStatus
[src]
Returns the left flags, but with all the right flags toggled.
impl BitXorAssign<ClientStatus> for ClientStatus
[src]
fn bitxor_assign(&mut self, other: ClientStatus)
[src]
Toggles the set of flags.
impl Clone for ClientStatus
[src]
fn clone(&self) -> ClientStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ClientStatus
[src]
impl Debug for ClientStatus
[src]
impl Eq for ClientStatus
[src]
impl Extend<ClientStatus> for ClientStatus
[src]
fn extend<T: IntoIterator<Item = ClientStatus>>(&mut self, iterator: T)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]
impl FromIterator<ClientStatus> for ClientStatus
[src]
fn from_iter<T: IntoIterator<Item = ClientStatus>>(iterator: T) -> ClientStatus
[src]
impl Hash for ClientStatus
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl LowerHex for ClientStatus
[src]
impl Not for ClientStatus
[src]
type Output = ClientStatus
The resulting type after applying the !
operator.
fn not(self) -> ClientStatus
[src]
Returns the complement of this set of flags.
impl Octal for ClientStatus
[src]
impl Ord for ClientStatus
[src]
fn cmp(&self, other: &ClientStatus) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ClientStatus> for ClientStatus
[src]
fn eq(&self, other: &ClientStatus) -> bool
[src]
fn ne(&self, other: &ClientStatus) -> bool
[src]
impl PartialOrd<ClientStatus> for ClientStatus
[src]
fn partial_cmp(&self, other: &ClientStatus) -> Option<Ordering>
[src]
fn lt(&self, other: &ClientStatus) -> bool
[src]
fn le(&self, other: &ClientStatus) -> bool
[src]
fn gt(&self, other: &ClientStatus) -> bool
[src]
fn ge(&self, other: &ClientStatus) -> bool
[src]
impl StructuralEq for ClientStatus
[src]
impl StructuralPartialEq for ClientStatus
[src]
impl Sub<ClientStatus> for ClientStatus
[src]
type Output = ClientStatus
The resulting type after applying the -
operator.
fn sub(self, other: ClientStatus) -> ClientStatus
[src]
Returns the set difference of the two sets of flags.
impl SubAssign<ClientStatus> for ClientStatus
[src]
fn sub_assign(&mut self, other: ClientStatus)
[src]
Disables all flags enabled in the set.
impl UpperHex for ClientStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientStatus
impl Send for ClientStatus
impl Sync for ClientStatus
impl Unpin for ClientStatus
impl UnwindSafe for ClientStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,