Trait bacon_rajan_cc::trace::Trace
[−]
[src]
pub trait Trace { fn trace(&mut self, tracer: &mut Tracer); }
A trait that informs cycle collector how to find memory that is owned by a
Trace
instance and managed by the cycle collector.
Required Methods
fn trace(&mut self, tracer: &mut Tracer)
Invoke the Tracer
on each of the CcBoxPtr
s owned by this Trace
instance.
Failing to invoke the tracer on every owned CcBoxPtr
can lead to
leaking cycles.
Implementors
impl Trace for bool
impl Trace for char
impl Trace for f32
impl Trace for f64
impl Trace for i16
impl Trace for i32
impl Trace for i64
impl Trace for i8
impl Trace for isize
impl Trace for str
impl Trace for u16
impl Trace for u32
impl Trace for u64
impl Trace for u8
impl Trace for usize
impl<'a, T: Trace> Trace for &'a mut [T]
impl<T: Trace> Trace for Box<T>
impl<T: Copy + Trace> Trace for Cell<T>
impl<T: Trace> Trace for RefCell<T>
impl<K, V: Trace> Trace for BTreeMap<K, V>
impl<K: Eq + Hash + Trace, V: Trace> Trace for HashMap<K, V>
impl<T: Trace> Trace for LinkedList<T>
impl<T: Trace> Trace for VecDeque<T>
impl Trace for CStr
impl Trace for CString
impl Trace for NulError
impl Trace for OsStr
impl Trace for OsString
impl<T> Trace for BufReader<T>
impl<T: Write> Trace for BufWriter<T>
impl<T> Trace for Cursor<T>
impl Trace for Empty
impl Trace for Error
impl<T> Trace for IntoInnerError<T>
impl<T: Write> Trace for LineWriter<T>
impl<T> Trace for Lines<T>
impl Trace for Repeat
impl Trace for Sink
impl<T> Trace for Split<T>
impl Trace for Stderr
impl Trace for Stdin
impl Trace for Stdout
impl<T> Trace for Take<T>
impl<T, U> Trace for Broadcast<T, U>
impl<T> Trace for Chars<T>
impl<T, U> Trace for Tee<T, U>
impl Trace for AddrParseError
impl Trace for Ipv4Addr
impl Trace for Ipv6Addr
impl Trace for SocketAddrV4
impl Trace for SocketAddrV6
impl Trace for TcpListener
impl Trace for TcpStream
impl Trace for UdpSocket
impl<T: Trace> Trace for Option<T>
impl Trace for Path
impl Trace for PathBuf
impl Trace for Child
impl Trace for ChildStderr
impl Trace for ChildStdin
impl Trace for ChildStdout
impl Trace for Command
impl Trace for ExitStatus
impl Trace for Output
impl Trace for Stdio
impl<T> Trace for Rc<T>
impl<T> Trace for Weak<T>
impl<T: Trace, U: Trace> Trace for Result<T, U>
impl<T> Trace for Arc<T>
impl Trace for Barrier
impl Trace for Condvar
impl<T> Trace for Mutex<T>
impl Trace for Once
impl<T> Trace for PoisonError<T>
impl<T: Trace> Trace for RwLock<T>
impl Trace for Builder
impl<T> Trace for JoinHandle<T>
impl<T> Trace for LocalKey<T>
impl Trace for Thread
impl<T: Trace> Trace for Cc<T>
impl<T: Trace> Trace for Weak<T>