pub struct Pointer(/* private fields */);Expand description
A Pointer as provided by the WeeChat relay.
Note that while these pointers are probably parsed into an actual machine pointer type on the relay side, the protocol treats them as strings with particular constraints. This means that there are possible cases where a relay and a client may have a different interpretation of things like whether two pointers are equal (e.g., leading zeros), or a pointer is valid at all (e.g., Pointers longer than the relay machine’s pointer width). Because the representation is only specified at the protocol level, we strongly advise to only use pointers as opaque handles provided by the relay.
Implementations§
Trait Implementations§
Source§impl MessageType for Pointer
impl MessageType for Pointer
impl Eq for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations§
impl Freeze for Pointer
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
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