Struct trust_dns_server::authority::MessageResponse [−][src]
A EncodableMessage with borrowed data for Responses in the Server
Implementations
impl<'q, 'a, A, N, S, D> MessageResponse<'q, 'a, A, N, S, D> where
A: Iterator<Item = &'a Record> + Send + 'a,
N: Iterator<Item = &'a Record> + Send + 'a,
S: Iterator<Item = &'a Record> + Send + 'a,
D: Iterator<Item = &'a Record> + Send + 'a,
[src]
A: Iterator<Item = &'a Record> + Send + 'a,
N: Iterator<Item = &'a Record> + Send + 'a,
S: Iterator<Item = &'a Record> + Send + 'a,
D: Iterator<Item = &'a Record> + Send + 'a,
pub fn header(&self) -> &Header
[src]
Returns the header of the message
pub fn set_edns(&mut self, edns: Edns) -> &mut Self
[src]
Set the EDNS options for the Response
pub fn destructive_emit(self, encoder: &mut BinEncoder<'_>) -> ProtoResult<()>
[src]
Consumes self, and emits to the encoder.
Trait Implementations
impl<'q, 'a, A: Debug, N: Debug, S: Debug, D: Debug> Debug for MessageResponse<'q, 'a, A, N, S, D> where
A: Iterator<Item = &'a Record> + Send + 'a,
N: Iterator<Item = &'a Record> + Send + 'a,
S: Iterator<Item = &'a Record> + Send + 'a,
D: Iterator<Item = &'a Record> + Send + 'a,
[src]
A: Iterator<Item = &'a Record> + Send + 'a,
N: Iterator<Item = &'a Record> + Send + 'a,
S: Iterator<Item = &'a Record> + Send + 'a,
D: Iterator<Item = &'a Record> + Send + 'a,
Auto Trait Implementations
impl<'q, 'a, A, N, S, D> RefUnwindSafe for MessageResponse<'q, 'a, A, N, S, D> where
A: RefUnwindSafe,
D: RefUnwindSafe,
N: RefUnwindSafe,
S: RefUnwindSafe,
A: RefUnwindSafe,
D: RefUnwindSafe,
N: RefUnwindSafe,
S: RefUnwindSafe,
impl<'q, 'a, A, N, S, D> Send for MessageResponse<'q, 'a, A, N, S, D>
impl<'q, 'a, A, N, S, D> Sync for MessageResponse<'q, 'a, A, N, S, D> where
A: Sync,
D: Sync,
N: Sync,
S: Sync,
A: Sync,
D: Sync,
N: Sync,
S: Sync,
impl<'q, 'a, A, N, S, D> Unpin for MessageResponse<'q, 'a, A, N, S, D> where
A: Unpin,
D: Unpin,
N: Unpin,
S: Unpin,
A: Unpin,
D: Unpin,
N: Unpin,
S: Unpin,
impl<'q, 'a, A, N, S, D> UnwindSafe for MessageResponse<'q, 'a, A, N, S, D> where
A: UnwindSafe,
D: UnwindSafe,
N: UnwindSafe,
S: UnwindSafe,
A: UnwindSafe,
D: UnwindSafe,
N: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,