Struct dbus::strings::Member [−][src]
pub struct Member<'a>(_);
Expand description
A wrapper around a string that is guaranteed to be a valid D-Bus member, i e, a signal or method name.
Implementations
Creates a new instance of this struct.
Note: If the no-string-validation feature is activated, this string will not be checked for conformance with the D-Bus specification.
Creates a new instance of this struct. If you end it with \0, it can borrow the slice without extra allocation.
Note: If the no-string-validation feature is activated, this string will not be checked for conformance with the D-Bus specification.
This function creates a new instance of this struct, without checking. It’s up to you to guarantee that s ends with a \0 and is valid.
Makes sure this string does not contain borrows.
Converts this struct to a CString.
Trait Implementations
Performs the append operation by borrowing self.
Performs the append operation by consuming self.
#Panics
If given string is not valid.
#Panics
If given string is not valid.
#Panics
If given string is not valid.
#Panics
If given string is not valid.
#Panics
If given string is not valid.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Performs the append operation.
Transforms this argument to Any (which can be downcasted to read the current value). Read more
Transforms this argument to Any (which can be downcasted to read the current value). Read more
Deep clone of the RefArg, causing the result to be ’static. Read more
Deep clone of an array. Read more
Try to read the argument as an iterator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Member<'a>
impl<'a> UnwindSafe for Member<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more