pub struct Info<T = MessageRef>(/* private fields */);
Implementations§
source§impl Info
impl Info
pub fn new<T: MessageErrorDomain>(error: T, message: &str) -> Message
pub fn builder<T: MessageErrorDomain>( error: T, message: &str ) -> InfoBuilder<'_>
pub fn builder_from_error<'a>(error: Error) -> InfoBuilder<'a>
pub fn error(&self) -> Error
pub fn debug(&self) -> Option<GString>
pub fn details(&self) -> Option<&StructureRef>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Info<T>where
T: Freeze,
impl<T> RefUnwindSafe for Info<T>where
T: RefUnwindSafe,
impl<T> Send for Info<T>where
T: Send,
impl<T> Sync for Info<T>where
T: Sync,
impl<T> Unpin for Info<T>where
T: Unpin,
impl<T> UnwindSafe for Info<T>where
T: UnwindSafe,
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