pub struct RedactedText(/* private fields */);Expand description
Text known to carry no configured secret: it was redacted when built or is a fixed string.
It has no public constructor, so a value of this type held by
Error::LspProtocolError cannot be an unredacted String; the crate
builds it only through the redaction set of the server it came from.
Implementations§
Trait Implementations§
Source§impl Clone for RedactedText
impl Clone for RedactedText
Source§impl Debug for RedactedText
impl Debug for RedactedText
Source§impl Display for RedactedText
impl Display for RedactedText
impl Eq for RedactedText
Source§impl PartialEq for RedactedText
impl PartialEq for RedactedText
impl StructuralPartialEq for RedactedText
Auto Trait Implementations§
impl Freeze for RedactedText
impl RefUnwindSafe for RedactedText
impl Send for RedactedText
impl Sync for RedactedText
impl Unpin for RedactedText
impl UnsafeUnpin for RedactedText
impl UnwindSafe for RedactedText
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<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.