pub struct RenameFailure {
pub reason: RenameRefusal,
pub message: String,
pub taken_by: Option<String>,
pub current_name: Option<String>,
}Expand description
Why the daemon did not rename a session (DaemonFrame::RenameFailed).
Fields§
§reason: RenameRefusal§message: String§taken_by: Option<String>Journal id of the saved session that already has the name (Taken).
current_name: Option<String>The session’s name when the expect precondition failed (Named).
Trait Implementations§
Source§impl Clone for RenameFailure
impl Clone for RenameFailure
Source§impl Debug for RenameFailure
impl Debug for RenameFailure
impl Eq for RenameFailure
Source§impl PartialEq for RenameFailure
impl PartialEq for RenameFailure
impl StructuralPartialEq for RenameFailure
Auto Trait Implementations§
impl Freeze for RenameFailure
impl RefUnwindSafe for RenameFailure
impl Send for RenameFailure
impl Sync for RenameFailure
impl Unpin for RenameFailure
impl UnsafeUnpin for RenameFailure
impl UnwindSafe for RenameFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.